Lines Matching refs:sftp_session
563 sftp_error_to_CURLE(sftp_get_error(sshc->sftp_session)); \
940 sshc->sftp_session = sftp_new(sshc->ssh_session); in myssh_statemach_act()
941 if(!sshc->sftp_session) { in myssh_statemach_act()
948 rc = sftp_init(sshc->sftp_session); in myssh_statemach_act()
950 rc = sftp_get_error(sshc->sftp_session); in myssh_statemach_act()
962 sshc->homedir = sftp_canonicalize_path(sshc->sftp_session, "."); in myssh_statemach_act()
1036 rc = sftp_setstat(sshc->sftp_session, sshc->quote_path2, in myssh_statemach_act()
1055 rc = sftp_symlink(sshc->sftp_session, sshc->quote_path2, in myssh_statemach_act()
1071 rc = sftp_mkdir(sshc->sftp_session, sshc->quote_path1, in myssh_statemach_act()
1086 rc = sftp_rename(sshc->sftp_session, sshc->quote_path1, in myssh_statemach_act()
1102 rc = sftp_rmdir(sshc->sftp_session, sshc->quote_path1); in myssh_statemach_act()
1116 rc = sftp_unlink(sshc->sftp_session, sshc->quote_path1); in myssh_statemach_act()
1133 statvfs = sftp_statvfs(sshc->sftp_session, sshc->quote_path1); in myssh_statemach_act()
1191 attrs = sftp_stat(sshc->sftp_session, protop->path); in myssh_statemach_act()
1220 attrs = sftp_stat(sshc->sftp_session, protop->path); in myssh_statemach_act()
1251 sftp_open(sshc->sftp_session, protop->path, in myssh_statemach_act()
1254 err = sftp_get_error(sshc->sftp_session); in myssh_statemach_act()
1379 rc = sftp_mkdir(sshc->sftp_session, protop->path, in myssh_statemach_act()
1389 err = sftp_get_error(sshc->sftp_session); in myssh_statemach_act()
1412 sshc->sftp_dir = sftp_opendir(sshc->sftp_session, in myssh_statemach_act()
1428 sshc->readdir_attrs = sftp_readdir(sshc->sftp_session, sshc->sftp_dir); in myssh_statemach_act()
1506 sshc->readdir_link_attrs = sftp_lstat(sshc->sftp_session, in myssh_statemach_act()
1516 sshc->readdir_tmp = sftp_readlink(sshc->sftp_session, in myssh_statemach_act()
1601 sshc->sftp_file = sftp_open(sshc->sftp_session, protop->path, in myssh_statemach_act()
1793 if(sshc->sftp_session) { in myssh_statemach_act()
1794 sftp_free(sshc->sftp_session); in myssh_statemach_act()
1795 sshc->sftp_session = NULL; in myssh_statemach_act()
2838 sshc->quote_attrs = sftp_stat(sshc->sftp_session, sshc->quote_path2); in sftp_quote_stat()
2843 sftp_get_error(sshc->sftp_session)); in sftp_quote_stat()