curl-users
Re: SFTP "File already completely downloaded" Problem
Date: Fri, 23 Jan 2009 00:47:50 +0100 (CET)
On Thu, 22 Jan 2009, Johnson, Gregory (Corporate) wrote:
> curl 7.18.2 (sparc-sun-solaris2.8) libcurl/7.18.2 OpenSSL/0.9.8h
> zlib/1.2.3 libidn/1.8 libssh2/0.18
> Protocols: tftp ftp telnet dict ldap http file https ftps scp sftp
> Features: IDN IPv6 Largefile NTLM SSL libz
First it would be great if you'd try curl 7.19.3 and libssh2 1.0 as a basis
since we've fixed a few SFTP flaws in there.
> * SSH public key authentication failed: Username/PublicKey combination
> invalid
> * Initialized password authentication
> * Authentication complete
> * File already completely downloaded
I suspect it is the libssh2_sftp_stat() call (lib/ssh.c:1682) that somehow
returns a zero size back to libcurl... Can you add a printf() or something to
see if that is the case?
Is this a 64bit machine/OS?
-- / daniel.haxx.se ------------------------------------------------------------------- List admin: http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-users FAQ: http://curl.haxx.se/docs/faq.html Etiquette: http://curl.haxx.se/mail/etiquette.htmlReceived on 2009-01-23