Вы просматриваете старую версию данной страницы. Смотрите текущую версию.

Сравнить с текущим просмотр истории страницы

« Предыдущий Версия 3 Следующий »

Connect Version 7 (Net)


Description

The action establishes a connection to an FTP server.

Icon



Parameters

Input parameters

  1. Connection protocol - Type of connection protocol.

  2. Host - The address of the FTP server on the network.

  3. Port - Port of the FTP server.

  4. Username - Login to connect to the server.

  5. Password - Password to connect to the server.

  6. Private Key File - File with the key to connect via SFTP.

  7. Private Key Password - Password for connection via SFTP with a key.

Output parameters

As a result we get the connection context for working with FTP server.

Settings

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. Требуется замена скриншота


  • Нет меток