Download folder Version 7 (Net)
Action group: FTP
Description
Action downloads files from the specified folder from an FTP server
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 directory | Remote directory to be downloaded | Robin.String | Yes | |
Local directory | The directory on the local computer where you need to download the remote directory on the server | Robin.FolderPath | C:\doc\img | Yes |
Rewrite | True to overwrite files and directories, otherwise false. Default is 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 | Maximum depth for viewing subdirectories. Use -1 to indicate depth without limitation. Only available with the "Include subdirectories" option enabled | Robin.Numeric | No |
Special conditions of use
None.
Example of use
Task
Connect to the FTP server, download upload/test folder from the server.
Solution
Use the actions "Connect", "Download folder", "Disconnect".
Implementation
- Assemble a robot scheme consisting of actions:
- Set the parameters for the "Connect" action.
- Set the parameters for the "Download folder" action.
- Set the parameters for the "Disconnect" action.
- Click on the "Start" button in the top panel.
Result
The program robot completed successfully. The folder was downloaded from the server.
Обзор
Инструменты контента