The move function is established to move an orginal file or folder to the new one. If the destination is existed, it will NOT be overwritted.
file.move("myFile.txt","yourFile.txt");
file.move("myFolder","yourFolder");
Calling | Returning |
---|---|
file . move ( orgPath, newPath ) | Boolean |
Parameters | Type | Description |
---|---|---|
orgPath | String | The relative file or folder path to the storage for moving from. |
newPath | String | The relative file or folder path to the storage for moving to. |