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
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 |
Local files | Files to upload to FTP server. To specify more than one file, use wildcards (* or?) | Robin.FilePath | Yes | |
Remote directory on FTP server | Destination directory | Robin.String | Yes | |
Overwrite | True to overwrite files, otherwise false. Default is false | Robin.Boolean | true | No |
Existing only | If 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 enabled | 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, 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 enabled | Robin.Boolean | true | No |
Exclude | Files 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
- Assemble a robot scheme consisting of actions:
- Set the parameters for the "Connect" action.
- Set the parameters for the "Upload files" action.
- Set the parameters for the "Disable" action.
- Click on the "Start" button in the top panel.
Result
The program robot completed successfully. The file was successfully uploaded to the server.
Обзор
Инструменты контента