curl-users
RE: large file support with ftp
Date: Wed, 16 Jun 2004 11:21:16 +0200 (CEST)
On Tue, 15 Jun 2004, Lemaire Jean-Louis wrote:
> $ curl -n -sS -T 2_1g ftp://f0serv1-ci//LOG/jll/test_jll
> curl: (18) Uploaded unaligned file size (-2147483647 out of 2147483649 bytes)
> $ ls -l 2_1g
> -rw------- 1 jlemaire ctcils 2147483649 Jun 15 14:05 2_1g
Okay, thanks for trying this out for me! Now try 7.12.0 with this patch
applied:
--- lib/urldata.h 15 Jun 2004 08:45:22 -0000 1.231
+++ lib/urldata.h 16 Jun 2004 09:23:12 -0000
@@ -339,7 +339,7 @@
struct Curl_transfer_keeper {
curl_off_t bytecount; /* total number of bytes read */
- int writebytecount; /* number of bytes written */
+ curl_off_t writebytecount; /* number of bytes written */
struct timeval start; /* transfer started at this time */
struct timeval now; /* current time */
bool header; /* incoming data has HTTP header */
-- Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se Dedicated custom curl help for hire: http://haxx.se/curl.htmlReceived on 2004-06-16