cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: 2+ GB files in libcurl

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Tue, 23 Jan 2007 19:04:03 -0800

On Tue, Jan 23, 2007 at 07:45:42PM -0700, Mark Wick wrote:
> I am using libcurl to get a 2+GB file. I am using the progress callback
> and it does not handle a file size >2GB across the interface. The library
> can handle the file (however, it returns an error code also). Is there a
> way around this? An interface call I am missing?

You are using the *_LARGE options for sizes, aren't you? The progress
callback uses floating point, so that handles large sizes just fine. Is your
libcurl compiled with large file support (curl --version should show
"Largefile")?

>>> Dan

-- 
http://www.MoveAnnouncer.com              The web change of address service
          Let webmasters know that your web site has moved
Received on 2007-01-24