Moves the file to the new path. Requires a path on the local server as a parameter.
File Variable->MoveTo('/folder/file.txt')
Use the [File->MoveTo] method. The following examples moves the local myfile.txt file to a different to folder on a Mac OS X hard drive.
Code
local(File = File('myfile.txt', File_OpenRead, File_ModeChar))
#File->MoveTo('///Library/WebServer/Documents/myfile.txt')
#File->Close
Please note that periodically LassoSoft will go through the notes and may incorporate information from them into the documentation. Any submission here gives LassoSoft a non-exclusive license and will be made available in various formats to the Lasso community.
©LassoSoft Inc 2015 | Web Development by Treefrog Inc | Privacy | Legal terms and Shipping | Contact LassoSoft
Recent Comments