cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: 2+ GB files in libcurl

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 24 Jan 2007 08:26:34 +0100 (CET)

On Tue, 23 Jan 2007, 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.

What libcurl version on what platform? What protocol? The progress callback
gets doubles, so it has no problem interface-wise.

> The library can handle the file (however, it returns an error code also).

When does it return an error and what error?

> Is there a way around this? An interface call I am missing?

libcurl supports large files since a long time. There's a bug in 7.16.0 though
that breaks (most) 4GB+ file downloads.

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2007-01-24