Download File
Use this action to download a file from the FTP server.
Using Download File 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 Download File action under the FTP utility to the canvas, place the pointer on the action, and then click or double-click the action. The Download File action window opens.
2. Edit the label name, 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. Select an Action from the list.
Save Into Local File
In the Local File Name field, enter the local file path to save the file. The default local path is same as the remote file name.
Return Stream
5. In the Remote File Path field, specify the path of the remote file to download.
6. In the Use Compression field, select true to apply the compression or select false.
7. Click Done.
Output Schema
The Download File action returns an output schema as shown in the figure that follows: