Lines Matching refs:newpath
1103 sftp_copy(struct sftp_conn *conn, const char *oldpath, const char *newpath) in sftp_copy() argument
1169 (r = sshbuf_put_cstring(msg, newpath)) != 0 || in sftp_copy()
1175 debug3("Sent message SSH2_FXP_OPEN I:%u P:%s", id, newpath); in sftp_copy()
1180 "remote open(\"%s\")", newpath); in sftp_copy()
1200 oldpath, newpath); in sftp_copy()
1205 newpath, fx2txt(status)); in sftp_copy()
1218 sftp_rename(struct sftp_conn *conn, const char *oldpath, const char *newpath, in sftp_rename() argument
1232 "\"%s\" to \"%s\"", oldpath, newpath); in sftp_rename()
1240 oldpath, newpath); in sftp_rename()
1246 (r = sshbuf_put_cstring(msg, newpath)) != 0) in sftp_rename()
1251 "SSH2_FXP_RENAME", oldpath, newpath); in sftp_rename()
1257 newpath, fx2txt(status)); in sftp_rename()
1263 sftp_hardlink(struct sftp_conn *conn, const char *oldpath, const char *newpath) in sftp_hardlink() argument
1274 "\"%s\" to \"%s\"", oldpath, newpath); in sftp_hardlink()
1285 (r = sshbuf_put_cstring(msg, newpath)) != 0) in sftp_hardlink()
1289 oldpath, newpath); in sftp_hardlink()
1295 newpath, fx2txt(status)); in sftp_hardlink()
1301 sftp_symlink(struct sftp_conn *conn, const char *oldpath, const char *newpath) in sftp_symlink() argument
1311 debug2("Sending SSH2_FXP_SYMLINK \"%s\" to \"%s\"", oldpath, newpath); in sftp_symlink()
1321 (r = sshbuf_put_cstring(msg, newpath)) != 0) in sftp_symlink()
1325 newpath); in sftp_symlink()
1331 newpath, fx2txt(status)); in sftp_symlink()