Paul Radaz wrote:
> Looks like a this:
> LIBSSH2_SFTP *sftp_session;
> sftp_session = libssh2_sftp_init(C_server->session);
> C_server->session is second LIBSSH2_SESSION for C_server (its connected,
> handshaked and authentificated) - yes, I am using "data pump function"
> between sockets like in direct_tcpip.c example. Works fine, I can download
> files by scp or execute commands
OK! That sounds good.
> but my problem is if I want to create sftp session for this private
Well, please enable libssh2 trace output with maximum debug level and
send the output from your program when it fails to create the SFTP
channel. Also send the source code for your program.
Received on 2013-04-03