Skip to content

Latest commit

 

History

History
24 lines (18 loc) · 723 Bytes

file.move.md

File metadata and controls

24 lines (18 loc) · 723 Bytes

file.move

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.

Sample

file.move("myFile.txt","yourFile.txt");
file.move("myFolder","yourFolder");

API

CallingReturning
file . move ( orgPath, newPath )Boolean
ParametersTypeDescription
orgPathStringThe relative file or folder path to the storage for moving from.
newPathStringThe relative file or folder path to the storage for moving to.