Lines Matching refs:sftp_session
965 sshc->sftp_session = libssh2_sftp_init(sshc->ssh_session);
966 if(!sshc->sftp_session) {
993 rc = libssh2_sftp_realpath(sshc->sftp_session, ".",
1011 err = (int)(libssh2_sftp_last_error(sshc->sftp_session));
1254 rc = libssh2_sftp_stat_ex(sshc->sftp_session, sshc->quote_path2,
1262 err = (int)(libssh2_sftp_last_error(sshc->sftp_session));
1330 rc = libssh2_sftp_stat_ex(sshc->sftp_session, sshc->quote_path2,
1338 err = (int)(libssh2_sftp_last_error(sshc->sftp_session));
1354 rc = libssh2_sftp_symlink_ex(sshc->sftp_session, sshc->quote_path1,
1363 err = (int)(libssh2_sftp_last_error(sshc->sftp_session));
1379 rc = libssh2_sftp_mkdir_ex(sshc->sftp_session, sshc->quote_path1,
1386 err = (int)(libssh2_sftp_last_error(sshc->sftp_session));
1399 rc = libssh2_sftp_rename_ex(sshc->sftp_session, sshc->quote_path1,
1411 err = (int)(libssh2_sftp_last_error(sshc->sftp_session));
1426 rc = libssh2_sftp_rmdir_ex(sshc->sftp_session, sshc->quote_path1,
1432 err = (int)(libssh2_sftp_last_error(sshc->sftp_session));
1445 rc = libssh2_sftp_unlink_ex(sshc->sftp_session, sshc->quote_path1,
1451 err = (int)(libssh2_sftp_last_error(sshc->sftp_session));
1489 rc = libssh2_sftp_stat_ex(sshc->sftp_session, sftp_scp->path,
1520 libssh2_sftp_open_ex(sshc->sftp_session, sftp_scp->path,
1534 err = (int)(libssh2_sftp_last_error(sshc->sftp_session));
1679 rc = libssh2_sftp_mkdir_ex(sshc->sftp_session, sftp_scp->path,
1694 sftp_err = (unsigned int)(libssh2_sftp_last_error(sshc->sftp_session));
1712 sshc->sftp_handle = libssh2_sftp_open_ex(sshc->sftp_session,
1724 err = (int)(libssh2_sftp_last_error(sshc->sftp_session));
1837 err = (int)(libssh2_sftp_last_error(sshc->sftp_session));
1854 libssh2_sftp_symlink_ex(sshc->sftp_session,
1941 libssh2_sftp_open_ex(sshc->sftp_session, sftp_scp->path,
1952 err = (int)(libssh2_sftp_last_error(sshc->sftp_session));
1968 rc = libssh2_sftp_stat_ex(sshc->sftp_session, sftp_scp->path,
2132 if(sshc->sftp_session) {
2133 rc = libssh2_sftp_shutdown(sshc->sftp_session);
2140 sshc->sftp_session = NULL;
2398 DEBUGASSERT(sshc->sftp_session == NULL);