cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Download file size

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 11 Dec 2002 11:57:50 +0100 (MET)

On Wed, 11 Dec 2002, Amit Mongia wrote:

> My server needs me to post certain other variables besides the file name if
> i want to download a file. The server does not accept request through GET
> method.

Ok.

> Can you please suggest where to make a fix in the code to be able to
> download files larger than 4GB. At the moment the download, almost
> everytime stops after downloading 2 GB.

I'm sorry, but I don't know exactly where as then I would've fixed this
myself. I consider this a (minor) flaw in libcurl that this limit exists.

Start with identifying how and why it stops.

Then modify the sources to use one common typedefed variable type for data
size (size_t ?) and make sure that is >32bit.

-- 
 Daniel Stenberg -- curl, cURL, Curl, CURL. Groks URLs.
-------------------------------------------------------
This sf.net email is sponsored by:
With Great Power, Comes Great Responsibility 
Learn to use your power at OSDN's High Performance Computing Channel
http://hpc.devchannel.org/
Received on 2002-12-11