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
Property | Description | Type | Filling example | Mandatory field |
Parameters | ||||
Context | Unique identifier of the FTP session in the context of which the action will be applied | Robin.FTP | FTP context | Yes |
Server files | Files to be downloaded. To indicate more than one file use wild-cards (* or ?) | Robin.String | Yes | |
Local directory | The directory on the local computer where you want to download files from the server | Robin.FolderPath | C:\doc\img | Yes |
Overwrite | True to overwrite files, otherwise false | Robin.Boolean | true | No |
Existing only | If 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 true | Robin.Boolean | true | No |
Only new | If 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 enabled | Robin.Boolean | true | No |
Exclude | Files to be ignored during download. To indicate more than one file, use wild-cards (* or ?) | Robin.String | No | |
Include subdirectories | If 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 false | Robin.Boolean | true | No |
Keep directories structure | If 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 false | Robin.Boolean | true | No |
Depth | The maximum depth for viewing subdirectories. Default is 5. Use -1 to indicate boundless depth. Note: Available only with parameter includeSubfolders set to true | Robin.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
- Assemble a robot scheme consisting of actions:
- Set the parameters for the "Connect" action.
- Set the parameters for the "Download files" action.
- Set the parameters for the "Disconnect" action.
- Click on the "Start" button in the top panel.
Result
The program robot completed successfully. The file has been downloaded from the server.
Обзор
Инструменты контента