List folder Version 6 (Net)

Action group: FTP


Description

Get a detailed list of files on the 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 files will be downloaded. The default is the current folder.Robin.String
No
RecursionGet list of all files in all subdirectories.Robin.BooleantrueNo
Results
ResultList of files from the specified directoryRobin.Collection

Special conditions of use

None.

Example of use

Task 

Connect to an FTP server, retrieve the contents of a folder.  

Solution 

Use "Connect", "List folder", "Disconnect" 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 folder" action. 

  4. Set the parameters for the "Disable" action. image2024-1-23_16-14-30.png

  5. Click on the "Start" button in the upper panel.

Result 

The software robot completed successfully. The content of the folder is received into the variable of type "Collection" and consists of 5 records. 


  • Нет меток