Lines Matching refs:oldpath

1103 sftp_copy(struct sftp_conn *conn, const char *oldpath, const char *newpath)  in sftp_copy()  argument
1119 if (sftp_stat(conn, oldpath, 0, &attr) != 0) in sftp_copy()
1127 error("Cannot copy non-regular file: %s", oldpath); in sftp_copy()
1149 (r = sshbuf_put_cstring(msg, oldpath)) != 0 || in sftp_copy()
1154 debug3("Sent message SSH2_FXP_OPEN I:%u P:%s", id, oldpath); in sftp_copy()
1159 "remote open(\"%s\")", oldpath); in sftp_copy()
1200 oldpath, newpath); in sftp_copy()
1204 error("Couldn't copy file \"%s\" to \"%s\": %s", oldpath, 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()
1245 if ((r = sshbuf_put_cstring(msg, oldpath)) != 0 || in sftp_rename()
1251 "SSH2_FXP_RENAME", oldpath, newpath); in sftp_rename()
1256 error("remote rename \"%s\" to \"%s\": %s", oldpath, 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()
1284 (r = sshbuf_put_cstring(msg, oldpath)) != 0 || in sftp_hardlink()
1289 oldpath, newpath); in sftp_hardlink()
1294 error("remote link \"%s\" to \"%s\": %s", oldpath, 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()
1320 (r = sshbuf_put_cstring(msg, oldpath)) != 0 || in sftp_symlink()
1324 debug3("Sent message SSH2_FXP_SYMLINK \"%s\" -> \"%s\"", oldpath, in sftp_symlink()
1330 error("remote symlink file \"%s\" to \"%s\": %s", oldpath, in sftp_symlink()