Lasso Soft Inc. > Home

[File->MoveTo]

Moves the file to the new path. Requires a path on the local server as a parameter.

  • Syntax
  • Parameters
[File Variable->(MoveTo: '/folder/file.txt')]
Required Parameters
'File path' The name and path to a new file.
Examples

To move a file to a different folder:

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. > Home

 

 

©LassoSoft Inc 2015 | Web Development by Treefrog Inc | PrivacyLegal terms and Shipping | Contact LassoSoft