curl-library
RE: Reflection for Secure IT Server
Date: Tue, 4 May 2010 10:47:06 +0800
> -----Original Message-----
> From: curl-library-bounces_at_cool.haxx.se
> [mailto:curl-library-bounces_at_cool.haxx.se] On Behalf Of
> Daniel Stenberg
> Sent: Monday, May 03, 2010 8:04 PM
> To: libcurl development
> Subject: RE: Reflection for Secure IT Server
>
> 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?
Just compared the 16KB chunk with the original file. Mostly, it is the same as the first 16KB of the source file, but it corrupts near the end. From position 0x3F90 to position 0x4000 (16384), the content is different from the original one. It is broken and corrupted.
If you would like to have a look, I can send the two files to you. But it seems improper to send the attachments to the whole list. :-(
> 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.
Hmmm, I'll try to embed "libssh2_trace(session, ~0)" into some place in libcurl's source code to provide more debug info. Once I get the full log, can I send it over to the list as a zip file?
Thanks,
Xu Qiang
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2010-05-04