Download files Version 7 (Net)

Action group: FTP


Description

The action downloads files from a FTP server to the local computer

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
Server filesFiles to be downloaded. To indicate more than one file use wild-cards (* or ?)Robin.String
Yes
Local directoryThe directory on the local computer where you want to download files from the serverRobin.FolderPathC:\doc\imgYes
OverwriteTrue to overwrite files, otherwise falseRobin.BooleantrueNo
Existing onlyIf the parameter value is true the action downloads only those files that exist in destination folder, otherwise false. Default is false. Note: Available only with parameter overwrite set to trueRobin.BooleantrueNo
Only newIf the parameter value is true, then overwrite only newer existing files and all files that do not exist yet. Otherwise, download 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 be ignored during download. To indicate more than one file, use wild-cards (* or ?)Robin.String
No
Include subdirectoriesIf the value is true, then the search is performed within the current directory and in all its subdirectories. If the value is false, then the search is performed within the current directory. Default is falseRobin.BooleantrueNo
Keep directories structureIf true, then keep the directory structure the same in the source and destination locations. If the value is false, then the directory structure is not preserved. Only available with the "Include subdirectories" option enabled. Default is falseRobin.BooleantrueNo
DepthThe maximum depth for viewing subdirectories. Default is 5. Use -1 to indicate boundless depth. Note: Available only with parameter includeSubfolders set to trueRobin.Numeric
No

Special conditions of use

None.

Example of use

Task

Connect to a FTP server, download a file from the server. 

Solution

Use the actions "Connect", "Download 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 "Download files" action. 
  4. Set the parameters for the "Disconnect" 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 has been downloaded from the server. 

  • Нет меток