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] tag. The following examples moves the local myfile.txt file to a different to folder on a Mac OS X hard drive.
[Var:'File'=(File: 'myfile.txt', File_OpenRead, File_ModeChar)]
[$File->(MoveTo:'///Library/WebServer/Documents/myfile.txt')]
[$File->Close]
Tag Link | [File->MoveTo] | Category | File |
---|---|---|---|
Type | Member | Data Source | Any |
Support | Preferred | Version | 7.0 |
Output Type | None | Security | File |
Implementation | Sets | Lasso 7.0 |
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