Connect Version 7 (Net)


Description

The action establishes a connection to an FTP server

Action icon


Settings of parameters

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


Special conditions of use

None.


Example of use

Task

Connect to an FTP server, retrieve the contents of a folder and retrieve information on value = 1 from the retrieved collection. 

Solution

Use the actions "Connect", "List folder", "Disconnect", "Get value by index".  

Implementation 

  1. Assemble a robot scheme consisting of the actions:
    image2024-1-23_16-13-38.png
  2. Set the parameters for the "Connect" action. 
    image2024-1-23_16-12-15.png
  3. Set the parameters for the "List folder" action. 
    image2024-1-23_16-14-10.png
  4. Set the parameters for the "Disconnect" action. 
    image2024-1-23_16-14-30.png
  5. Set parameters for the "Get value by index" action.
    image2024-1-23_16-14-38.png
  6. Click on the "Start" button in the upper panel. 

Result

The software robot completed successfully.  Information on the value with index =1 is obtained.


  • Нет меток