Lasso Soft Inc. > Home

[FTP_PutFile]

[FTP_PutFile] uploads a local file to a remote FTP server via PASV mode. The -URL parameter must specify the destination path and file name for the uploaded file.

  • Syntax
  • Parameters
[FTP_PutFile: -URL='ftp://ftp.example.com/myfile.zip', -File='/folder/myfile.zip', -Username='Username', -Password='Password']
Required Parameters
-URL The destination path and file name to which the file will be uploaded.
-File The name and path to the local file to be uploaded.
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 upload a file to an FTP server:

The following example uploads a file named myfile.zip to ftp://ftp.example.com/private/ which requires a username and password to access the Private folder.

[FTP_PutFile: -URL='ftp://ftp.example.com/private/myfile.zip', -File='/documents/myfile.zip', -Username='my_username', -Password='my_password']
Tag Link [FTP_PutFile] 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