Download File
AI-generatedOverview
This node operation downloads a file from IFC Pipeline. It allows users to select a file by its path or ID and downloads the file content into a specified binary property. This is useful for workflows that need to retrieve and process files stored in IFC Pipeline, such as architectural models or related data files.
Use Case Examples
- Downloading an IFC model file from IFC Pipeline to process or analyze it in subsequent workflow steps.
- Retrieving a CSV or JSON file from IFC Pipeline for data extraction or reporting.
Properties
| Name | Meaning |
|---|---|
| File Path Name or ID | Select the file to download from IFC Pipeline, either from a list or by specifying an ID using an expression. |
| Binary Property | Name of the binary property where the downloaded file data will be stored. |
Output
JSON
filePath- The path or ID of the downloaded file.token- Token used to authorize the file download.data- The binary data of the downloaded file stored in the specified binary property.
Dependencies
- Requires an API key credential for IFC Pipeline API authentication.
Troubleshooting
- Error 'No binary data exists on item!' occurs if the input item lacks binary data when uploading files, but for download operation, ensure the file path is valid.
- If the file path or ID is incorrect or the file does not exist, the node will fail to download the file. Verify the file path or ID is correct.
- Ensure the binary property name specified exists and is correctly referenced to store the downloaded file data.
Links
- n8n Expressions Documentation - Reference for using expressions to specify file path or ID.