On Mon, 3 May 2010, Xu, Qiang (FXSGSC) wrote:
Just tried the latest curl snapshot, with the same result:
The file sitting in the remote folder is still 16KB, while the local file's
size is 512KB. :-(
Are those 16KB the first 16KB of the source file or are they broken somehow?
I would think you need to instrument how lissh2_sftp_write() that libcurl uses
acts, and what libcurl then does after the working ones etc. Possibly in
combination with enabling libssh2 debug tracing.
As I can't repeat this problem it's a bit tricky to search for it.
--
/ daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html