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

PropertyDescriptionTypeFilling exampleMandatory field
Parameters
ContextUnique identifier of the FTP session in the context of which the action will be appliedRobin.FTPFTP contextYes
Directory on the FTP- serverFull 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
ResultList containing the names of subdirectories in the specified directoryRobin.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

  1. Assemble a robot scheme consisting of actions:
  2. Set the parameters for the "Connect" action. 
    image2024-1-23_16-12-15.png
  3. Set the parameters for the "List folders" action. 

  4. Set the parameters for the "Disconnect" action. 
    image2024-1-23_16-14-30.png
  5. Set the parameters for the "Get value by index" action. 
  6. 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. 

  • Нет меток