Lines Matching refs:remote_path
1583 sftp_download(struct sftp_conn *conn, const char *remote_path, in sftp_download() argument
1602 remote_path, local_path); in sftp_download()
1607 if (sftp_stat(conn, remote_path, 0, &attr) != 0) in sftp_download()
1620 error("download %s: not a regular file", remote_path); in sftp_download()
1632 if (send_open(conn, remote_path, "remote", SSH2_FXF_READ, NULL, in sftp_download()
1671 start_progress_meter(progress_meter_path(remote_path), in sftp_download()
1829 error("read remote \"%s\" : %s", remote_path, fx2txt(status)); in sftp_download()
2015 const char *remote_path, int preserve_flag, int resume, in sftp_upload() argument
2032 local_path, remote_path); in sftp_upload()
2060 if (sftp_stat(conn, remote_path, 0, &c) != 0) { in sftp_upload()
2085 if (send_open(conn, remote_path, "dest", openmode, &a, in sftp_upload()
2198 error("write remote \"%s\": %s", remote_path, fx2txt(status)); in sftp_upload()