cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Only receive a header file

From: dylan <glethro_at_gmail.com>
Date: Thu, 4 Mar 2010 22:17:05 +0400

Actually what I am doing is splitting the file into 'n' number of parts and
then downloading them all simultaneously to hopefully speed up downloads. So
if it the header does contain a value for Content-Length ill split the parts
into even (ish) sized chunks and download them.

From the above it looks like i just set the CURLOPT_NOBODY option and that
should keep the body from being downloaded?

Dylan.

-------------------------------------------------------------------

List admin: http://cool.haxx.se/list/listinfo/curl-library
> Etiquette: http://curl.haxx.se/mail/etiquette.html
>

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2010-03-04