Lasso Soft Inc. > Home

[FTP_GetFile]

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

  • Syntax
  • Parameters
[FTP_GetFile: -URL='ftp://ftp.example.com/myfile.zip', -File='/folder/myfile.zip', -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.
Examples

To download a file from an FTP server:

The following example downloads a file named download.zip from ftp://ftp.example.com/private/donwload.zip where a username and password are required to access the Private folder.

[FTP_GetFile: -URL='ftp://ftp.example.com/private/download.zip', -File='/documents/download.zip', -Username='my_username', -Password='my_password']
Tag Link [FTP_GetFile] Category Utility
Type Substitution Data Source Any
Support Preferred Version 6.0
Output Type File Security File, Tag
Implementation LCAPI Sets Lasso 8.5, Lasso 8.0, Lasso 7.0, Lasso 6.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