История страницы
...
Connect Version 7 (Net)
Описание
...
Description
The action establishes a connection to an FTP server.
IconДействие устанавливает соединение с FTP-сервером.
...
Parameters
Входные параметры
Протокол соединения – Тип протокола соединения.
Хост – Адрес FTP-сервера в сети.
Порт– Порт FTP-сервера.
Логин – Логин для подключения к серверу.
Пароль – Пароль для подключения к серверу.
Файл-ключ - Файл с ключом для подключения по SFTP.
Пароль для подключения по ключу - Пароль для подключения по SFTP с ключом.
Выходные параметры
В результате получаем контекст подключения для работы с FTP-сервером.
Настройки
...
Свойство
...
Описание
...
Тип
...
Пример заполнения
...
Обязательность заполнения поля
...
Параметры
...
Протокол соединения
...
Протокол соединения
...
Robin.String
...
Да
...
Хост
...
Адрес FTP-сервера
...
Robin.String
...
Да
...
Порт
...
Порт для подключения.
...
Robin.Numeric
...
Нет
...
Логин
...
Логин для подключения к серверу
...
Robin.String
...
Нет
...
Пароль
...
Пароль для подключения к серверу
...
Robin.Password
...
Нет
...
Файл-ключ
...
Файл с ключом для подключения по SFTP. Ключ должен быть в формате OpenSSH.
...
Robin.FilePath
...
Нет
...
Пароль для подключения по ключу
...
Пароль для подключения по SFTP с ключом
...
Robin.String
...
Нет
...
Input parameters
Connection protocol - Type of connection protocol.
Host - The address of the FTP server on the network.
Port - Port of the FTP server.
Username - Login to connect to the server.
Password - Password to connect to the server.
Private Key File - File with the key to connect via SFTP.
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
...
Контекст
...
Уникальный идентификатор сеанса, который будет создан в результате выполнения действия.
...
Robin.FTP
...
Контекст FTP
Особые условия использования
Отсутствуют.
Пример использования
Задача
Подключиться к FTP-серверу, получить содержимое папки и получить информацию по значению = 1 из полученной коллекции.
Решение
Воспользоваться действиями "Connect", "List folder", "Disconnect", "Get value by index".
Реализация
Implementation
- Assemble a robot scheme consisting of the actionsСобрать схему робота, состоящего из действий:
- Настроить параметры для действия Set the parameters for the "Connect" action.
Настроить параметры - для действия Set the parameters for the "List folder" action.
- Настроить параметры для действия Set the parameters for the "Disconnect" action.
- Настроить параметры для действия Set parameters for the "Get value by index" action.
- Нажать на кнопку "Старт" в верхней панелиClick on the "Start" button in the upper panel.
Результат
Result
The software robot completed successfully. Information on the value with index =1 is obtained. Требуется замена скриншотаПрограммный робот отработал успешно. Получена информация по значению с индексом =1.