Lines Matching defs:oldpath
865 do_rename(struct sftp_conn *conn, const char *oldpath, const char *newpath,
888 if ((r = sshbuf_put_cstring(msg, oldpath)) != 0 ||
894 "SSH2_FXP_RENAME", oldpath, newpath);
899 error("Couldn't rename file \"%s\" to \"%s\": %s", oldpath,
906 do_hardlink(struct sftp_conn *conn, const char *oldpath, const char *newpath)
925 (r = sshbuf_put_cstring(msg, oldpath)) != 0 ||
930 oldpath, newpath);
935 error("Couldn't link file \"%s\" to \"%s\": %s", oldpath,
942 do_symlink(struct sftp_conn *conn, const char *oldpath, const char *newpath)
960 (r = sshbuf_put_cstring(msg, oldpath)) != 0 ||
964 debug3("Sent message SSH2_FXP_SYMLINK \"%s\" -> \"%s\"", oldpath,
970 error("Couldn't symlink file \"%s\" to \"%s\": %s", oldpath,