Lines Matching refs:sftp_session
1126 int rc = libssh2_sftp_stat_ex(sshc->sftp_session, sshp->path, in sftp_upload_init()
1158 libssh2_sftp_open_ex(sshc->sftp_session, sshp->path, in sftp_upload_init()
1175 sftperr = libssh2_sftp_last_error(sshc->sftp_session); in sftp_upload_init()
1413 int rc = libssh2_sftp_stat_ex(sshc->sftp_session, sshc->quote_path2, in sftp_quote_stat()
1422 unsigned long sftperr = libssh2_sftp_last_error(sshc->sftp_session); in sftp_quote_stat()
1500 int rc = libssh2_sftp_stat_ex(sshc->sftp_session, sshp->path, in sftp_download_stat()
1675 unsigned long sftperr = libssh2_sftp_last_error(sshc->sftp_session); in sftp_readdir()
2029 sshc->sftp_session = libssh2_sftp_init(sshc->ssh_session); in ssh_statemachine()
2030 if(!sshc->sftp_session) { in ssh_statemachine()
2052 rc = sftp_libssh2_realpath(sshc->sftp_session, ".", in ssh_statemachine()
2070 unsigned long sftperr = libssh2_sftp_last_error(sshc->sftp_session); in ssh_statemachine()
2162 rc = libssh2_sftp_stat_ex(sshc->sftp_session, sshc->quote_path2, in ssh_statemachine()
2170 unsigned long sftperr = libssh2_sftp_last_error(sshc->sftp_session); in ssh_statemachine()
2184 rc = libssh2_sftp_symlink_ex(sshc->sftp_session, sshc->quote_path1, in ssh_statemachine()
2193 unsigned long sftperr = libssh2_sftp_last_error(sshc->sftp_session); in ssh_statemachine()
2207 rc = libssh2_sftp_mkdir_ex(sshc->sftp_session, sshc->quote_path1, in ssh_statemachine()
2214 unsigned long sftperr = libssh2_sftp_last_error(sshc->sftp_session); in ssh_statemachine()
2227 rc = libssh2_sftp_rename_ex(sshc->sftp_session, sshc->quote_path1, in ssh_statemachine()
2239 unsigned long sftperr = libssh2_sftp_last_error(sshc->sftp_session); in ssh_statemachine()
2253 rc = libssh2_sftp_rmdir_ex(sshc->sftp_session, sshc->quote_path1, in ssh_statemachine()
2259 unsigned long sftperr = libssh2_sftp_last_error(sshc->sftp_session); in ssh_statemachine()
2272 rc = libssh2_sftp_unlink_ex(sshc->sftp_session, sshc->quote_path1, in ssh_statemachine()
2278 unsigned long sftperr = libssh2_sftp_last_error(sshc->sftp_session); in ssh_statemachine()
2293 rc = libssh2_sftp_statvfs(sshc->sftp_session, sshc->quote_path1, in ssh_statemachine()
2301 unsigned long sftperr = libssh2_sftp_last_error(sshc->sftp_session); in ssh_statemachine()
2368 rc = libssh2_sftp_stat_ex(sshc->sftp_session, sshp->path, in ssh_statemachine()
2426 rc = libssh2_sftp_mkdir_ex(sshc->sftp_session, sshp->path, in ssh_statemachine()
2440 unsigned long sftperr = libssh2_sftp_last_error(sshc->sftp_session); in ssh_statemachine()
2466 libssh2_sftp_open_ex(sshc->sftp_session, sshp->path, in ssh_statemachine()
2476 sftperr = libssh2_sftp_last_error(sshc->sftp_session); in ssh_statemachine()
2498 libssh2_sftp_symlink_ex(sshc->sftp_session, in ssh_statemachine()
2556 libssh2_sftp_open_ex(sshc->sftp_session, sshp->path, in ssh_statemachine()
2567 sftperr = libssh2_sftp_last_error(sshc->sftp_session); in ssh_statemachine()
2638 if(sshc->sftp_session) { in ssh_statemachine()
2639 rc = libssh2_sftp_shutdown(sshc->sftp_session); in ssh_statemachine()
2646 sshc->sftp_session = NULL; in ssh_statemachine()
2969 DEBUGASSERT(sshc->sftp_session == NULL); in ssh_statemachine()