Lines Matching defs:path
512 do_lsreaddir(struct sftp_conn *conn, const char *path, int print_flag,
532 (r = sshbuf_put_cstring(msg, path)) != 0)
537 "remote readdir(\"%s\")", path);
622 error("Server sent suspect path \"%s\" "
623 "during readdir of \"%s\"", filename, path);
658 do_readdir(struct sftp_conn *conn, const char *path, SFTP_DIRENT ***dir)
660 return(do_lsreaddir(conn, path, 0, dir));
678 do_rm(struct sftp_conn *conn, const char *path)
682 debug2("Sending SSH2_FXP_REMOVE \"%s\"", path);
685 send_string_request(conn, id, SSH2_FXP_REMOVE, path, strlen(path));
693 do_mkdir(struct sftp_conn *conn, const char *path, Attrib *a, int print_flag)
698 send_string_attrs_request(conn, id, SSH2_FXP_MKDIR, path,
699 strlen(path), a);
709 do_rmdir(struct sftp_conn *conn, const char *path)
714 send_string_request(conn, id, SSH2_FXP_RMDIR, path,
715 strlen(path));
725 do_stat(struct sftp_conn *conn, const char *path, int quiet)
733 path, strlen(path));
739 do_lstat(struct sftp_conn *conn, const char *path, int quiet)
748 return(do_stat(conn, path, quiet));
752 send_string_request(conn, id, SSH2_FXP_LSTAT, path,
753 strlen(path));
774 do_setstat(struct sftp_conn *conn, const char *path, Attrib *a)
779 send_string_attrs_request(conn, id, SSH2_FXP_SETSTAT, path,
780 strlen(path), a);
784 error("Couldn't setstat on \"%s\": %s", path,
808 do_realpath(struct sftp_conn *conn, const char *path)
818 send_string_request(conn, id, SSH2_FXP_REALPATH, path,
819 strlen(path));
854 debug3("SSH_FXP_REALPATH %s -> %s size %lu", path, filename,
1009 do_readlink(struct sftp_conn *conn, const char *path)
1019 send_string_request(conn, id, SSH2_FXP_READLINK, path, strlen(path));
1054 debug3("SSH_FXP_READLINK %s -> %s", path, filename);
1065 do_statvfs(struct sftp_conn *conn, const char *path, struct sftp_statvfs *st,
1085 (r = sshbuf_put_cstring(msg, path)) != 0)
1540 error("Unable to canonicalize path \"%s\"", src);
1810 * the path already existed and is a directory.
1873 error("Unable to canonicalize path \"%s\"", dst);