cURL / Mailing Lists / curl-library / Single Mail

curl-library

SFTP get log "File already completely downloaded" but the file is empty

From: <hudepeng2000_at_163.com>
Date: Tue, 30 Sep 2014 10:56:15 +0800 (CST)

use curl command "curl -u user:pwd -v -L sftp://sftp-ms.betagrid.gxs.com:22//TEST/readme.txt"
and get logs :

* Re-using existing connection! (#0) with host sftp-ms.betagrid.gxs.com
* Connected to sftp-ms.betagrid.gxs.com (204.90.230.166) port 22 (#0)
* File already completely downloaded
* Connection died, retrying a fresh connect
* Closing connection #0
* Issue another request to this URL: 'sftp://sftp-ms.betagrid.gxs.com:22//TEST/readme.txt'
* About to connect() to sftp-ms.betagrid.gxs.com port 22 (#0)
* Trying 204.90.230.166... * connected
* Connected to sftp-ms.betagrid.gxs.com (204.90.230.166) port 22 (#0)
* SSH authentication methods available: password,publickey
* Using ssh public key file /home/test/.ssh/id_dsa.pub
* Using ssh private key file /home/test/.ssh/id_dsa
* SSH public key authentication failed: Unable to open public key file
* Initialized password authentication
* Authentication complete
* File already completely downloaded
* Connection #0 to host sftp-ms.betagrid.gxs.com left intact

I know someone else get the similar issue, http://curl.haxx.se/mail/lib-2012-06/0156.html,
Can get this file correctly by FileZilla client.
Is there any update for this issue?

Thanks!
Depeng

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2014-09-30