The action establishes a connection to an FTP server
Action icon
Property | Description | Type | Example of filling in | Obligatory to fill in the field |
Parameters | ||||
Connection protocol | Connection protocol | String | Yes | |
Host | FTP server address | String | Yes | |
Port | Port for connection | Numeric | No | |
Username | Login to connect to the server | String | No | |
Password | Password to connect to the server | Password | No | |
Private Key File | A file with the key to connect via SFTP. The key must be in OpenSSH format. | FilePath | No | |
Private Key Password | Password for SFTP connection with a key | String | No | |
Results | ||||
Context | The unique session identifier that will be created as a result of the action. | FTP instance | FTP context |
None.
Example of use
Connect to an FTP server, retrieve the contents of a folder and retrieve information on value = 1 from the retrieved collection.
Use the actions "Connect", "List folder", "Disconnect", "Get value by index".
The software robot completed successfully. Information on the value with index =1 is obtained.