Applicationsapp_module
VPS Files: rename / move
Renames or moves a file or directory on the project's VPS over SFTP.
Request
Response
Errors
An error keeps the envelope: a negative code and a message in data.
Related methods
vps_fs_deleteuserDeletes a file or directory (recursively) on the project's VPS over SFTP.
vps_fs_disk_usageuserReturns one-level disk usage (du) of a directory on the VPS, largest children first.
vps_fs_listuserLists a directory on the project's VPS over SFTP. Returns typed entries (file/dir, size, mtime, mode).
vps_fs_mkdiruserCreates a directory (recursively) on the project's VPS over SFTP.
vps_fs_readuserReads a file on the project's VPS over SFTP. Detects text/image/binary and caps inline size.
vps_fs_searchuserSearches a directory subtree on the VPS by filename or by file contents.
45 of 61 in Applications