cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Ftp upload resume issuw with very big files.

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 26 Aug 2014 14:37:54 +0200 (CEST)

On Tue, 26 Aug 2014, dushyant kumar wrote:

> I am trying to upload a file in a server using libcurl.

> Program works fine for small files (upto 5-6 GB ), however for very big
> files (more than 10 GB), it continues uploading even after the upload is
> over (By looking into file size).

According to your screenshots the problems are on Windows and the mistake is
actually in your code. You use 'struct stat' and stat() which both on Windows
aren't supporting large files (file sizes above 4GB).

See http://msdn.microsoft.com/en-us/library/14h5k7ff.aspx

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2014-08-26