List folders Version 7 (Net)
Action group: FTP
Description
Action queries and retrieves a directory list in a directory on the FTP server
Action icon
Settings of perameters
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 |
Directory on the FTP- server | Full or relative path to the directory from which the detailed list of directories will be downloaded. The default is the current folder. | Robin.String | Yes | |
Results | ||||
Result | List containing the names of subdirectories in the specified directory | Robin.Collection |
Special conditions of use
None.
Example of use
Task
Connect to the FTP server, get the list of folders of the "upload" directory, break the connection and get the value from the collection of received items by index= 0.
Solution
Use "Connect", "List folders", "Disconnect", "Get value by index" actions.
Implementation
- Assemble a robot scheme consisting of actions:
- Set the parameters for the "Connect" action.
Set the parameters for the "List folders" action.
- Set the parameters for the "Disconnect" action.
- Set the parameters for the "Get value by index" action.
- Click on the "Start" button in the upper panel.
Result
The software robot completed successfully. There is one folder located in this directory.
Information on the value with index =0 is obtained.
Обзор
Инструменты контента