cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: uploaded file is of 0 bytes using FTP-SSL with libcurl

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 19 Jan 2006 00:05:37 +0100 (CET)

On Wed, 18 Jan 2006, azad amm wrote:

> The problem that i face is that the client program runs completely. However
> on the server's user home directory, the file uploaded has the name
> while-uploading.txt with 0 bytes in it.

...

> * Uploaded unaligned file size (1 out of 21474908464 bytes)

Is that the correct file size? Either way, it seems to only get a single byte
uploaded...

To me it seems like you check and report the size of one file, and then the
read callback reads from and returns data from another...

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