Hi, list:
Recently, I found a problem with libssh2, when it tries to connect to SFTP service provided by CoreFTP (http://www.coreftp.com/server/).
Please look at the following test.
=========================================
qxu_at_durian(pts/3):~/opensrc/libssh2-1.2/example/simple[150]$ date
Wed Feb 17 16:54:33 SGT 2010
qxu_at_durian(pts/3):~/opensrc/libssh2-1.2/example/simple[151]$ ./sftpdir 13.xxx.xxx.xxx <user> <pass> /
Fingerprint: 0B BF A1 84 3E B3 8C 1D 84 0A C5 C7 68 55 EE BC
libssh2_sftp_init()!
libssh2_sftp_opendir()!
libssh2_sftp_opendir() is done, now receive listing!
drw-rw-rw 1 root root 0 Feb 17 15:39 .
drw-rw-rw 1 root root 0 Feb 17 15:39 ..
-rw-rw-rw 1 root root 14941 Jan 12 08:53 001AA0609710.pdf
-rw-rw-rw 1 root root 14904 Jan 12 08:51 001AA0609728.pdf
...
/* everything above this line appears very quickly, but the following "all done" takes more than 10 mins to show */
all done
qxu_at_durian(pts/3):~/opensrc/libssh2-1.2/example/simple[152]$ date
Wed Feb 17 17:04:43 SGT 2010
=========================================
Is this a known issue? Can anyone download a CoreFTP server and do a local testing to see the problem?
Just want to mention that libssh2 connects fast to SFTP service provided by OpenSSH (http://sshwindows.sourceforge.net/). So is it possibly a server's issue? Not likely, because FileZilla can connect to CoreFTP's SFTP server quickly.
Thanks,
Xu Qiang
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2010-02-17