LassoScript Utility
Basics Browse Detail


Tag Link [File->MoveTo] Category File
Type Member Source Available No
Support Preferred Version 7.0
Change Unchanged Data Source Any
Output Type None Security File
Implementation LCAPI Sets Lasso 8.5, Lasso 8.0, Lasso 7.0


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


[File Variable->(MoveTo: '/folder/file.txt')]


Required Parameters
'File path' The name and path to a new file.


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)]