Lines Matching refs:sftp_scp

703   struct SSHPROTO *sftp_scp = data->req.protop;  in ssh_statemach_act()  local
1167 result = ssh_getworkingpath(conn, sshc->homedir, &sftp_scp->path); in ssh_statemach_act()
1219 sftp_scp->path); in ssh_statemach_act()
1612 if(sftp_scp->path[strlen(sftp_scp->path)-1] == '/') in ssh_statemach_act()
1632 rc = libssh2_sftp_stat_ex(sshc->sftp_session, sftp_scp->path, in ssh_statemach_act()
1633 curlx_uztoui(strlen(sftp_scp->path)), in ssh_statemach_act()
1663 libssh2_sftp_open_ex(sshc->sftp_session, sftp_scp->path, in ssh_statemach_act()
1664 curlx_uztoui(strlen(sftp_scp->path)), in ssh_statemach_act()
1693 (strlen(sftp_scp->path) > 1))) { in ssh_statemach_act()
1798 if(strlen(sftp_scp->path) > 1) { in ssh_statemach_act()
1799 sshc->slash_pos = sftp_scp->path + 1; /* ignore the leading '/' */ in ssh_statemach_act()
1812 infof(data, "Creating directory '%s'\n", sftp_scp->path); in ssh_statemach_act()
1823 rc = libssh2_sftp_mkdir_ex(sshc->sftp_session, sftp_scp->path, in ssh_statemach_act()
1824 curlx_uztoui(strlen(sftp_scp->path)), in ssh_statemach_act()
1862 sftp_scp->path, in ssh_statemach_act()
1864 strlen(sftp_scp->path)), in ssh_statemach_act()
1963 snprintf(sshc->readdir_linkPath, PATH_MAX, "%s%s", sftp_scp->path, in ssh_statemach_act()
2074 libssh2_sftp_open_ex(sshc->sftp_session, sftp_scp->path, in ssh_statemach_act()
2075 curlx_uztoui(strlen(sftp_scp->path)), in ssh_statemach_act()
2101 rc = libssh2_sftp_stat_ex(sshc->sftp_session, sftp_scp->path, in ssh_statemach_act()
2102 curlx_uztoui(strlen(sftp_scp->path)), in ssh_statemach_act()
2239 if(sftp_scp) in ssh_statemach_act()
2240 Curl_safefree(sftp_scp->path); in ssh_statemach_act()
2291 result = ssh_getworkingpath(conn, sshc->homedir, &sftp_scp->path); in ssh_statemach_act()
2320 SCP_SEND(sshc->ssh_session, sftp_scp->path, data->set.new_file_perms, in ssh_statemach_act()
2380 sftp_scp->path, &sb); in ssh_statemach_act()
2959 struct SSHPROTO *sftp_scp = conn->data->req.protop; in ssh_done() local
2974 if(sftp_scp) in ssh_done()
2975 Curl_safefree(sftp_scp->path); in ssh_done()