Lines Matching refs:sftp_session
557 sshc->actualcode = sftp_error_to_CURLE(sftp_get_error(sshc->sftp_session)); \
927 sshc->sftp_session = sftp_new(sshc->ssh_session); in myssh_statemach_act()
928 if(!sshc->sftp_session) { in myssh_statemach_act()
935 rc = sftp_init(sshc->sftp_session); in myssh_statemach_act()
937 rc = sftp_get_error(sshc->sftp_session); in myssh_statemach_act()
949 sshc->homedir = sftp_canonicalize_path(sshc->sftp_session, "."); in myssh_statemach_act()
1023 rc = sftp_setstat(sshc->sftp_session, sshc->quote_path2, in myssh_statemach_act()
1042 rc = sftp_symlink(sshc->sftp_session, sshc->quote_path2, in myssh_statemach_act()
1058 rc = sftp_mkdir(sshc->sftp_session, sshc->quote_path1, in myssh_statemach_act()
1073 rc = sftp_rename(sshc->sftp_session, sshc->quote_path1, in myssh_statemach_act()
1089 rc = sftp_rmdir(sshc->sftp_session, sshc->quote_path1); in myssh_statemach_act()
1103 rc = sftp_unlink(sshc->sftp_session, sshc->quote_path1); in myssh_statemach_act()
1120 statvfs = sftp_statvfs(sshc->sftp_session, sshc->quote_path1); in myssh_statemach_act()
1178 attrs = sftp_stat(sshc->sftp_session, protop->path); in myssh_statemach_act()
1207 attrs = sftp_stat(sshc->sftp_session, protop->path); in myssh_statemach_act()
1237 sftp_open(sshc->sftp_session, protop->path, in myssh_statemach_act()
1240 err = sftp_get_error(sshc->sftp_session); in myssh_statemach_act()
1360 rc = sftp_mkdir(sshc->sftp_session, protop->path, in myssh_statemach_act()
1370 err = sftp_get_error(sshc->sftp_session); in myssh_statemach_act()
1392 sshc->sftp_dir = sftp_opendir(sshc->sftp_session, in myssh_statemach_act()
1407 sshc->readdir_attrs = sftp_readdir(sshc->sftp_session, sshc->sftp_dir); in myssh_statemach_act()
1489 sshc->readdir_link_attrs = sftp_lstat(sshc->sftp_session, in myssh_statemach_act()
1498 sshc->readdir_tmp = sftp_readlink(sshc->sftp_session, in myssh_statemach_act()
1586 sshc->sftp_file = sftp_open(sshc->sftp_session, protop->path, in myssh_statemach_act()
1775 if(sshc->sftp_session) { in myssh_statemach_act()
1776 sftp_free(sshc->sftp_session); in myssh_statemach_act()
1777 sshc->sftp_session = NULL; in myssh_statemach_act()
2813 sshc->quote_attrs = sftp_stat(sshc->sftp_session, sshc->quote_path2); in sftp_quote_stat()
2818 sftp_get_error(sshc->sftp_session)); in sftp_quote_stat()