Lines Matching refs:protop
672 struct SSHPROTO *protop = data->req.p.ssh;
987 result = Curl_getworkingpath(data, sshc->homedir, &protop->path);
1210 attrs = sftp_stat(sshc->sftp_session, protop->path);
1224 if(protop->path[strlen(protop->path)-1] == '/')
1239 attrs = sftp_stat(sshc->sftp_session, protop->path);
1270 sftp_open(sshc->sftp_session, protop->path,
1278 (strlen(protop->path) > 1))) {
1376 if(strlen(protop->path) > 1) {
1377 sshc->slash_pos = protop->path + 1; /* ignore the leading '/' */
1390 infof(data, "Creating directory '%s'", protop->path);
1399 rc = sftp_mkdir(sshc->sftp_session, protop->path,
1433 protop->path);
1483 sshc->readdir_linkPath = aprintf("%s%s", protop->path,
1589 sshc->sftp_file = sftp_open(sshc->sftp_session, protop->path,
1753 Curl_safefree(protop->path);
1793 result = Curl_getworkingpath(data, sshc->homedir, &protop->path);
1812 ssh_scp_new(sshc->ssh_session, SSH_SCP_WRITE, protop->path);
1817 ssh_scp_new(sshc->ssh_session, SSH_SCP_READ, protop->path);
1839 rc = ssh_scp_push_file(sshc->scp_session, protop->path,
2372 struct SSHPROTO *protop = data->req.p.ssh;
2381 if(protop)
2382 Curl_safefree(protop->path);
2638 struct SSHPROTO *protop = data->req.p.ssh;
2661 protop->path);