Actions10
Retrieve File
AI-generatedSummary
Retrieve a file from the IPFS network using its content identifier (CID) and output the file as binary data in a specified binary property field.
Inputs
- CID (required) — The IPFS content identifier (CID) of the file to retrieve.
- Output Binary Field — The name of the binary property where the retrieved file binary data will be stored (default is 'data').
Output shape
a single item containing the CID in JSON and binary data of the retrieved file under the specified binary property name
Returns the file as binary data with content type from the IPFS response headers. If multiple items are processed, each will output a corresponding result. Errors are surfaced per item.
Examples
Example 1: Retrieve an IPFS file by its CID
Specify the 'Retrieve File' operation, enter the CID of the desired file, and optionally set the output binary field name if different from the default 'data'. The node will output the file's binary content under this property.