curl-users
curl and byte ranges
From: Phillip Stevens <pj2k_at_hotmail.com>
Date: Fri, 22 Mar 2002 21:23:49 +1100
Date: Fri, 22 Mar 2002 21:23:49 +1100
Hi,
I was just using curl and the byte range option (-r). I only wish to
download the first 20KB of a document, however not all webservers are
acknowledging this request, and are sending the entire file. Is this due to
the lack of HTTP 1.1? or because they simply refuse to send only part of a
document?
How can I get curl to download the first 20KB and then simply abort? I am
using an automated process and don't want to get stuck on a 1MB+ file.
Thank you.
Regards,
Phil.
_________________________________________________________________
Join the world’s largest e-mail service with MSN Hotmail.
http://www.hotmail.com
Received on 2002-03-22