Upload files Version 7 (Net)

Action group: FTP


Description

The action uploads files from a local folder to an FTP server

Action icon

Settings of parameters

PropertyDescriptionTypeFilling exampleMandatory field
Parameters
ContextUnique identifier of the FTP session in the context of which the action will be appliedRobin.FTPFTP contextYes
Local filesFiles to upload to FTP server. To specify more than one file, use wildcards (* or?)Robin.FilePath
Yes
Remote directory on FTP serverDestination directoryRobin.String
Yes
OverwriteTrue to overwrite files, otherwise false. Default is falseRobin.BooleantrueNo
Existing onlyIf the parameter value is true, then upload only those files that exist in the destination directory. Otherwise, upload all files. The default is false. Only available with the «Overwrite» option enabledRobin.BooleantrueNo
Only newIf the parameter value is true, then overwrite only newer existing files and all files that do not exist yet. Otherwise, upload all files. If «Existing only» is enabled, then overwrite only newer existing files, without adding those that do not yet exist. Only available with the «Overwrite» option enabledRobin.BooleantrueNo
ExcludeFiles to ignore during upload. To specify more than one file, use wild-cards (* or?)Robin.String
No

Special conditions of use

None.

Example of use

Task

Connect to the FTP server, upload the file to the server in the upload directory

Solution

Use the actions "Connect", "Upload files", "Disconnect". 

Implementation

  1. Assemble a robot scheme consisting of actions:
  2. Set the parameters for the "Connect" action. 
    image2024-1-23_16-12-15.png
  3. Set the parameters for the "Upload files" action. 
  4. Set the parameters for the "Disable" action. 
    image2024-1-23_16-14-30.png

  5. Click on the "Start" button in the top panel. 

Result 

The program robot completed successfully. The file was successfully uploaded to the server. 

  • Нет меток