Lines Matching refs:sftp_session
1117 sshc->sftp_session = libssh2_sftp_init(sshc->ssh_session);
1118 if(!sshc->sftp_session) {
1145 rc = sftp_libssh2_realpath(sshc->sftp_session, ".",
1163 err = sftp_libssh2_last_error(sshc->sftp_session);
1439 rc = libssh2_sftp_stat_ex(sshc->sftp_session, sshc->quote_path2,
1447 err = sftp_libssh2_last_error(sshc->sftp_session);
1510 rc = libssh2_sftp_stat_ex(sshc->sftp_session, sshc->quote_path2,
1518 err = sftp_libssh2_last_error(sshc->sftp_session);
1532 rc = libssh2_sftp_symlink_ex(sshc->sftp_session, sshc->quote_path1,
1541 err = sftp_libssh2_last_error(sshc->sftp_session);
1555 rc = libssh2_sftp_mkdir_ex(sshc->sftp_session, sshc->quote_path1,
1562 err = sftp_libssh2_last_error(sshc->sftp_session);
1574 rc = libssh2_sftp_rename_ex(sshc->sftp_session, sshc->quote_path1,
1586 err = sftp_libssh2_last_error(sshc->sftp_session);
1599 rc = libssh2_sftp_rmdir_ex(sshc->sftp_session, sshc->quote_path1,
1605 err = sftp_libssh2_last_error(sshc->sftp_session);
1617 rc = libssh2_sftp_unlink_ex(sshc->sftp_session, sshc->quote_path1,
1623 err = sftp_libssh2_last_error(sshc->sftp_session);
1638 rc = libssh2_sftp_statvfs(sshc->sftp_session, sshc->quote_path1,
1646 err = sftp_libssh2_last_error(sshc->sftp_session);
1702 rc = libssh2_sftp_stat_ex(sshc->sftp_session, sftp_scp->path,
1740 rc = libssh2_sftp_stat_ex(sshc->sftp_session, sftp_scp->path,
1771 libssh2_sftp_open_ex(sshc->sftp_session, sftp_scp->path,
1785 err = sftp_libssh2_last_error(sshc->sftp_session);
1931 rc = libssh2_sftp_mkdir_ex(sshc->sftp_session, sftp_scp->path,
1945 err = sftp_libssh2_last_error(sshc->sftp_session);
1969 sshc->sftp_handle = libssh2_sftp_open_ex(sshc->sftp_session,
1981 err = sftp_libssh2_last_error(sshc->sftp_session);
2087 err = sftp_libssh2_last_error(sshc->sftp_session);
2102 libssh2_sftp_symlink_ex(sshc->sftp_session,
2182 libssh2_sftp_open_ex(sshc->sftp_session, sftp_scp->path,
2193 err = sftp_libssh2_last_error(sshc->sftp_session);
2209 rc = libssh2_sftp_stat_ex(sshc->sftp_session, sftp_scp->path,
2381 if(sshc->sftp_session) {
2382 rc = libssh2_sftp_shutdown(sshc->sftp_session);
2389 sshc->sftp_session = NULL;
2679 DEBUGASSERT(sshc->sftp_session == NULL);