Download File
Use this action to download a file from the internet.
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 Developer Tools 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. In the URL field, enter the URL of the page you want to download.
4. In the Method list, select an option.
5. In the Name of the Downloaded File field, enter the name of the downloaded file.
6. In the HTTP Basic Auth section, enter the Username and Password.
7. In the Headers section, click Add to enter the Header Name and Header Value.
8. Click Done.
Output Schema
The Download File action returns an output schema depending on the option that you select. See a sample output schema in the figure that follows:
Was this helpful?