cURL / Mailing Lists / curl-library / Single Mail


SFTP "File already completely downloaded" Problem

From: Dan Hayes <>
Date: Mon, 12 Dec 2011 15:24:07 -0500

I am having the same problem as a few others who posted about receiving a
"File already completely downloaded" message when attempting to download a
file via SFTP. My setup is as follows:

OS: sunOS 5.10

$ curl --version
curl 7.21.6 (sparc-sun-solaris2.10) libcurl/7.21.6 OpenSSL/0.9.8r
zlib/1.2.3 libssh2/1.3.0
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3
pop3s rtsp scp sftp smtp smtps telnet tftp
Features: IPv6 Largefile NTLM SSL libz

I tracked down the code in lib/ssh.c where it is emitting this message and
confirmed the file size it is receiving from libssh2_sftp_stat() is zero.

Any insight would be greatly appreciated.


Dan Hayes

List admin:
Received on 2011-12-12