cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: large file support on Mingw

From: Joe Nardone <jnardone_at_gmail.com>
Date: Thu, 21 Jun 2007 16:14:49 -0400

> I am trying to get large file (> 2GB) support for a simple app building
> on Mingw. I note that when configuring to build libcurl (7.16.2), none
> of the large file support triggers seem to trip, and a simple PUT of a
> file via curl_easy_perform() results in an error from a wrapped four
> byte data type. The same code works fine on Linux, where the 2.1 GB
> file is transferred to the same server but the offset is clearly 64 bit

It looks like this patch might help:

http://oss.netfarm.it/mplayer/misc/file64_mingw.diff
Received on 2007-06-21