Lines Matching refs:oldpath
864 do_rename(struct sftp_conn *conn, const char *oldpath, const char *newpath, in do_rename() argument
887 if ((r = sshbuf_put_cstring(msg, oldpath)) != 0 || in do_rename()
893 "SSH2_FXP_RENAME", oldpath, newpath); in do_rename()
898 error("Couldn't rename file \"%s\" to \"%s\": %s", oldpath, in do_rename()
905 do_hardlink(struct sftp_conn *conn, const char *oldpath, const char *newpath) in do_hardlink() argument
924 (r = sshbuf_put_cstring(msg, oldpath)) != 0 || in do_hardlink()
929 oldpath, newpath); in do_hardlink()
934 error("Couldn't link file \"%s\" to \"%s\": %s", oldpath, in do_hardlink()
941 do_symlink(struct sftp_conn *conn, const char *oldpath, const char *newpath) in do_symlink() argument
959 (r = sshbuf_put_cstring(msg, oldpath)) != 0 || in do_symlink()
963 debug3("Sent message SSH2_FXP_SYMLINK \"%s\" -> \"%s\"", oldpath, in do_symlink()
969 error("Couldn't symlink file \"%s\" to \"%s\": %s", oldpath, in do_symlink()