Lines Matching refs:sftp_scp
801 struct SSHPROTO *sftp_scp = data->req.protop; in ssh_statemach_act() local
1284 result = Curl_getworkingpath(conn, sshc->homedir, &sftp_scp->path); in ssh_statemach_act()
1339 sftp_scp->path); in ssh_statemach_act()
1833 rc = libssh2_sftp_stat_ex(sshc->sftp_session, sftp_scp->path, in ssh_statemach_act()
1834 curlx_uztoui(strlen(sftp_scp->path)), in ssh_statemach_act()
1851 if(sftp_scp->path[strlen(sftp_scp->path)-1] == '/') in ssh_statemach_act()
1871 rc = libssh2_sftp_stat_ex(sshc->sftp_session, sftp_scp->path, in ssh_statemach_act()
1872 curlx_uztoui(strlen(sftp_scp->path)), in ssh_statemach_act()
1902 libssh2_sftp_open_ex(sshc->sftp_session, sftp_scp->path, in ssh_statemach_act()
1903 curlx_uztoui(strlen(sftp_scp->path)), in ssh_statemach_act()
1932 (strlen(sftp_scp->path) > 1))) { in ssh_statemach_act()
2042 if(strlen(sftp_scp->path) > 1) { in ssh_statemach_act()
2043 sshc->slash_pos = sftp_scp->path + 1; /* ignore the leading '/' */ in ssh_statemach_act()
2056 infof(data, "Creating directory '%s'\n", sftp_scp->path); in ssh_statemach_act()
2065 rc = libssh2_sftp_mkdir_ex(sshc->sftp_session, sftp_scp->path, in ssh_statemach_act()
2066 curlx_uztoui(strlen(sftp_scp->path)), in ssh_statemach_act()
2105 sftp_scp->path, in ssh_statemach_act()
2107 strlen(sftp_scp->path)), in ssh_statemach_act()
2184 result = Curl_dyn_add(&sshc->readdir_link, sftp_scp->path); in ssh_statemach_act()
2294 libssh2_sftp_open_ex(sshc->sftp_session, sftp_scp->path, in ssh_statemach_act()
2295 curlx_uztoui(strlen(sftp_scp->path)), in ssh_statemach_act()
2319 rc = libssh2_sftp_stat_ex(sshc->sftp_session, sftp_scp->path, in ssh_statemach_act()
2320 curlx_uztoui(strlen(sftp_scp->path)), in ssh_statemach_act()
2465 Curl_safefree(sftp_scp->path); in ssh_statemach_act()
2519 result = Curl_getworkingpath(conn, sshc->homedir, &sftp_scp->path); in ssh_statemach_act()
2548 SCP_SEND(sshc->ssh_session, sftp_scp->path, data->set.new_file_perms, in ssh_statemach_act()
2616 sftp_scp->path, &sb); in ssh_statemach_act()
2621 sftp_scp->path, &sb); in ssh_statemach_act()
3310 struct SSHPROTO *sftp_scp = conn->data->req.protop; in ssh_done() local
3319 if(sftp_scp) in ssh_done()
3320 Curl_safefree(sftp_scp->path); in ssh_done()