Moves a file or directory by updating its path on the server.
For directories, this performs a server-side rename without data transfer. For files, the file ID is resolved and the path is updated.
The source file or directory path.
The target path. If an existing directory or trailing slash is provided, the source basename is appended.
Promise resolving to true on success, false on failure.
Moves a file or directory by updating its path on the server.
For directories, this performs a server-side rename without data transfer. For files, the file ID is resolved and the path is updated.