ThingWorx Flow > Connectors Overview > Utilities and Tools > FTP > Get List of Files and Folders
  
Get List of Files and Folders
Use this action to retrieve a list of files and folders from a specified directory on the FTP server.
Using Get List of Files and Folders Action
To use this action in your workflow, connect it to ThingWorx Flow. To connect to the flow, do the following:
1. Click and drag the Get List of Files and Folders action under the FTP utility to the canvas, place the pointer on the action, and then click or double-click the action. The Get List of Files and Folders action window opens.
2. Edit the label nameEdit, if needed. By default, the label name is same as the action name.
3. To add a new connection, refer to the Adding a New Connection section in the FTP utility topic.
* 
If you previously added a connection for FTP, select a connection from the list.
4. In the Remote Directory Path field, specify the remote text file path to retrieve the list.
5. In the Use Compression field, select true to apply the compression or select false.
6. Click Done.
Output Schema
The Get List of Files and Folders action returns an output schema as shown in the figure that follows: