Lines Matching defs:sftp_scp
689 struct SSHPROTO *sftp_scp = data->req.protop;
1132 result = ssh_getworkingpath(conn, sshc->homedir, &sftp_scp->path);
1184 sftp_scp->path);
1577 if(sftp_scp->path[strlen(sftp_scp->path)-1] == '/')
1597 rc = libssh2_sftp_stat_ex(sshc->sftp_session, sftp_scp->path,
1598 curlx_uztoui(strlen(sftp_scp->path)),
1628 libssh2_sftp_open_ex(sshc->sftp_session, sftp_scp->path,
1629 curlx_uztoui(strlen(sftp_scp->path)),
1658 (strlen(sftp_scp->path) > 1))) {
1763 if(strlen(sftp_scp->path) > 1) {
1764 sshc->slash_pos = sftp_scp->path + 1; /* ignore the leading '/' */
1776 infof(data, "Creating directory '%s'\n", sftp_scp->path);
1787 rc = libssh2_sftp_mkdir_ex(sshc->sftp_session, sftp_scp->path,
1788 curlx_uztoui(strlen(sftp_scp->path)),
1826 sftp_scp->path,
1828 strlen(sftp_scp->path)),
1927 snprintf(sshc->readdir_linkPath, PATH_MAX, "%s%s", sftp_scp->path,
2038 libssh2_sftp_open_ex(sshc->sftp_session, sftp_scp->path,
2039 curlx_uztoui(strlen(sftp_scp->path)),
2065 rc = libssh2_sftp_stat_ex(sshc->sftp_session, sftp_scp->path,
2066 curlx_uztoui(strlen(sftp_scp->path)),
2199 if(sftp_scp)
2200 Curl_safefree(sftp_scp->path);
2251 result = ssh_getworkingpath(conn, sshc->homedir, &sftp_scp->path);
2280 SCP_SEND(sshc->ssh_session, sftp_scp->path, data->set.new_file_perms,
2340 sftp_scp->path, &sb);
2919 struct SSHPROTO *sftp_scp = conn->data->req.protop;
2934 if(sftp_scp)
2935 Curl_safefree(sftp_scp->path);