Lines Matching refs:newpath
1089 sftp_copy(struct sftp_conn *conn, const char *oldpath, const char *newpath) in sftp_copy() argument
1155 (r = sshbuf_put_cstring(msg, newpath)) != 0 || in sftp_copy()
1161 debug3("Sent message SSH2_FXP_OPEN I:%u P:%s", id, newpath); in sftp_copy()
1166 "remote open(\"%s\")", newpath); in sftp_copy()
1186 oldpath, newpath); in sftp_copy()
1191 newpath, fx2txt(status)); in sftp_copy()
1204 sftp_rename(struct sftp_conn *conn, const char *oldpath, const char *newpath, in sftp_rename() argument
1218 "\"%s\" to \"%s\"", oldpath, newpath); in sftp_rename()
1226 oldpath, newpath); in sftp_rename()
1232 (r = sshbuf_put_cstring(msg, newpath)) != 0) in sftp_rename()
1237 "SSH2_FXP_RENAME", oldpath, newpath); in sftp_rename()
1243 newpath, fx2txt(status)); in sftp_rename()
1249 sftp_hardlink(struct sftp_conn *conn, const char *oldpath, const char *newpath) in sftp_hardlink() argument
1260 "\"%s\" to \"%s\"", oldpath, newpath); in sftp_hardlink()
1271 (r = sshbuf_put_cstring(msg, newpath)) != 0) in sftp_hardlink()
1275 oldpath, newpath); in sftp_hardlink()
1281 newpath, fx2txt(status)); in sftp_hardlink()
1287 sftp_symlink(struct sftp_conn *conn, const char *oldpath, const char *newpath) in sftp_symlink() argument
1297 debug2("Sending SSH2_FXP_SYMLINK \"%s\" to \"%s\"", oldpath, newpath); in sftp_symlink()
1307 (r = sshbuf_put_cstring(msg, newpath)) != 0) in sftp_symlink()
1311 newpath); in sftp_symlink()
1317 newpath, fx2txt(status)); in sftp_symlink()