cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Only receive a header file

From: Olaf van der Spek <olafvdspek_at_gmail.com>
Date: Thu, 4 Mar 2010 19:24:52 +0100

On Thu, Mar 4, 2010 at 7:17 PM, dylan <glethro_at_gmail.com> wrote:
> 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?

Hmm, return of the download managers?
That's abusive behaviour, you should *not* open multiple connections
to the web server for this purpose.

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