cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Two issues about sftp on Windows box

From: Lisa Xu <lisa_xu_at_huatek.com>
Date: Wed, 21 Jan 2009 17:37:16 +0800

I still can not download anything on Windows box using sftp, but upload is
fine.

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

I enable debug in libssh2 and curl, following is the info when I download a
file from remote.

** About to connect() to 192.168.129.61 port 22 (#0)
* Trying 192.168.129.61... connected
* Connected to 192.168.129.61 (192.168.129.61) port 22 (#0)
* User: idyll
* Password:
* SSH socket: 1940
* Fingerprint: 10 A3 DA 4F 0C FB 00 CB 7D 3E 59 9C DF CC 01 F7
[libssh2] Failure Event: -37 - Would block requesting userauth list
* SSH authentication methods available: publickey,gssapi-with-mic,password
* Using ssh public key file e:/idyll/id_dsa.pub
* Using ssh private key file e:/idyll/id_dsa
* Initialized SSH public key authentication
* Authentication complete
[libssh2] SFTP Subsystem: Initializing SFTP subsystem
[libssh2] Failure Event: -37 - Would block
[libssh2] Failure Event: -37 - Would block starting up channel
[libssh2] Failure Event: -37 - Would block to request SFTP subsystem
[libssh2] SFTP Subsystem: Sending FXP_INIT packet advertising version 3
support
[libssh2] SFTP Subsystem: Requiring 2 packet
[libssh2] SFTP Subsystem: Asking for 2 packet
[libssh2] SFTP Subsystem: Waiting for packet
[libssh2] Failure Event: -37 - Would block waiting for response from SFTP
subsys
tem
[libssh2] SFTP Subsystem: Requiring 2 packet
[libssh2] SFTP Subsystem: Asking for 2 packet
[libssh2] SFTP Subsystem: Waiting for packet
[libssh2] SFTP Subsystem: Data begin - Packet Length: 5
[libssh2] SFTP Subsystem: Received packet 2 (len 5)
[libssh2] SFTP Subsystem: Asking for 2 packet
[libssh2] SFTP Subsystem: Enabling SFTP version 3 compatability
[libssh2] SFTP Subsystem: Reading realpath on .
[libssh2] SFTP Subsystem: Asking for 104 packet
[libssh2] SFTP Subsystem: Asking for 101 packet
[libssh2] SFTP Subsystem: Waiting for packet
[libssh2] SFTP Subsystem: Data begin - Packet Length: 43
[libssh2] SFTP Subsystem: Received packet 104 (len 43)
[libssh2] SFTP Subsystem: Asking for 104 packet
[libssh2] SFTP Subsystem: Sending file open request
[libssh2] SFTP Subsystem: Asking for 102 packet
[libssh2] SFTP Subsystem: Asking for 101 packet
[libssh2] SFTP Subsystem: Waiting for packet
[libssh2] SFTP Subsystem: Data begin - Packet Length: 13
[libssh2] SFTP Subsystem: Received packet 102 (len 13)
[libssh2] SFTP Subsystem: Asking for 102 packet
[libssh2] SFTP Subsystem: Open command successful
[libssh2] SFTP Subsystem: Statting /home/idyll/lisa.txt
[libssh2] SFTP Subsystem: Asking for 105 packet
[libssh2] SFTP Subsystem: Asking for 101 packet
[libssh2] SFTP Subsystem: Waiting for packet
[libssh2] SFTP Subsystem: Data begin - Packet Length: 37
[libssh2] SFTP Subsystem: Received packet 105 (len 37)
[libssh2] SFTP Subsystem: Asking for 105 packet
*** File already completely downloaded
[libssh2] SFTP Subsystem: Closing handle
[libssh2] SFTP Subsystem: Requiring 101 packet
[libssh2] SFTP Subsystem: Asking for 101 packet
[libssh2] SFTP Subsystem: Waiting for packet
[libssh2] SFTP Subsystem: Data begin - Packet Length: 24
[libssh2] SFTP Subsystem: Received packet 101 (len 24)
[libssh2] SFTP Subsystem: Asking for 101 packet
  % 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*

Does anybody encounter the same issue?

Regards,

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-21