This function was added in v3.4.0.
Moves a file registered in the file manager to the specified path on the file manager. [Asynchronous]
Arguments
| Name | Type | Description |
|---|
| src | string | Source file path |
| dest | string | Destination file path |
Return value
None
Sample
await $fn.moveFile('/xxxx/yyyy/sss.dat', '/xxxx/zzzz/sss.dat');
console.log("Error", err);