www.libssh2.org | Daily snapshots | Mailing list archive | Docs | Examples

Archive Index This month's Index

Subject: [libssh2] #159: libssh2 takes long time to disconnect from CoreFTP's SFTP service

[libssh2] #159: libssh2 takes long time to disconnect from CoreFTP's SFTP service

From: libssh2 Trac <trac_at_libssh2.stuge.se>
Date: Fri, 19 Feb 2010 09:25:59 -0000

#159: libssh2 takes long time to disconnect from CoreFTP's SFTP service
-----------------------------------------+----------------------------------
 Reporter: qxu | Owner:
     Type: defect | Status: new
 Priority: normal | Milestone: 1.2.5
Component: protocol | Version: 1.2.4
 Keywords: coreftp server idle timeout | Blocking:
Blockedby: |
-----------------------------------------+----------------------------------
 1. Download CoreFTP server from http://www.coreftp.com/server/. Install it
 on a Windows platform, and set up an SFTP server. Start the service, with
 the default idle timeout setting as 600 seconds.

 2. Download the latest libssh2 source package, say, libssh2-1.2.4.tar.gz
 into a Unix/Linux box.

 3. Compile it with debug option enabled, and you will get some binaries in
 "libssh2-1.2.4/example".

 4. In the above path, type the command "./sftpdir
 <coreftp_sftp_server_ip_address> <username> <password>
 <directory_to_be_listed>".

 5. Notice that the session will be finished after around 10 mins. This is
 unbearable.

 6. Even if the server's idle timeout value is reduced to 1 second, the
 sftpdir command will still take around 5 to 6 seconds to finish.

 7. FileZilla and WinSCP have the same problem.

-- 
Ticket URL: <http://libssh2.stuge.se/ticket/159>
libssh2 <http://libssh2.stuge.se/>
C library for writing portable SSH2 clients
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2010-02-19

the libssh2 team