I want to use multiple SFTP subsystem£º
LIBSSH2_SESSION *session = libssh2_session_init();
LIBSSH2_SFTP *sftp_session1 = libssh2_sftp_init(session);
LIBSSH2_SFTP *sftp_session2 = libssh2_sftp_init(session);
LIBSSH2_SFTP *sftp_session3 = libssh2_sftp_init(session);
LIBSSH2_SFTP_HANDLE *sftp_handle1 = libssh2_sftp_open(sftp_sessions1, ...);
LIBSSH2_SFTP_HANDLE *sftp_handle2 = libssh2_sftp_open(sftp_sessions2, ...);
LIBSSH2_SFTP_HANDLE *sftp_handle3 = libssh2_sftp_open(sftp_sessions3, ...);
How to make use of this three handles to transfer files faster, thanks!
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2011-01-11