LassoScript Utility
Basics Browse Detail


Tag Link [FTP_GetFile] Category Utility
Type Substitution Source Available No
Support Preferred Version 6.0
Change Unchanged Data Source Any
Output Type File Security File, Tag
Implementation LCAPI Sets Lasso 8.5, Lasso 8.0, Lasso 7.0, Lasso 6.0


[FTP_GetFile] downloads a named file from a remote FTP server via PASV mode.


[FTP_GetFile: -URL='', -File='/folder/', -Username='Username', -Password='Password']


Required Parameters
-URL The URL folder from which the file will be downloaded.
-File The path to the local file to be created.
Optional Parameters
-Username Used to specifiy a username needed to log in to the remote FTP server.
-Password Used to specifiy a password needed to log in to the remote FTP server.


To download a file from an FTP server:

The following example downloads a file named from where a username and password are required to access the Private folder.

[FTP_GetFile: -URL='', -File='/documents/', -Username='my_username', -Password='my_password']