cURL / Mailing Lists / curl-users / Single Mail

curl-users

Two issues about sftp on Windows box

From: Lisa Xu <lisa_xu_at_huatek.com>
Date: Tue, 20 Jan 2009 17:25:10 +0800

I encountered two issues when I worked on sftp on windows box.

My curl version is:
curl 7.19.2 (i386-pc-win32) libcurl/7.19.2 OpenSSL/0.9.8e libssh2/0.18
Protocols: tftp ftp telnet dict http file https ftps scp sftp
Features: IPv6 Largefile NTLM SSL

- First issue
When I use public/private key authentication, there always has an error
"OPENSSL_Uplink(00551010,05): no OPENSSL_Applink".

- Second issue
I want download a file from remote, my command is "curl -v -u lisa:password
-o e:\lisa.tmp sftp://192.168.129.61/home/lisa/lisa.txt".
It looks like the command is fine, but actually it does not download the
remote file. Following is the output info:

* Initialized password authentication
* Authentication complete
* File already completely downloaded
  % Total % Received % Xferd Average Speed Time Time Time
Current
                                 Dload Upload Total Spent Left
Speed
  0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:--
0*
Connection #0 to host 192.168.129.61 left intact

* Closing connection #0

It always said that "file alread completely download", I don't know why.

Does anybody have any idea?

Thanks!

Lisa

-------------------------------------------------------------------
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.html
Received on 2009-01-20