Actions4
Download
AI-generatedOverview
This node operation downloads a file from Alibaba Cloud OSS (Object Storage Service) using the specified object key. It retrieves the binary content of the file stored in OSS and outputs it as binary data in the workflow. This operation is useful for workflows that need to fetch and process files stored in Alibaba Cloud OSS, such as downloading images, documents, or other binary files for further processing or storage.
Use Case Examples
- Downloading a user-uploaded image from OSS to process it in an image manipulation workflow.
- Fetching a configuration file stored in OSS to use its contents in a workflow.
Properties
| Name | Meaning |
|---|---|
| Object Key | Full path of the OSS object to download, e.g., folder/file.txt. |
| Binary Property | Name of the binary property where the downloaded file's binary data will be stored. |
Output
Binary
The binary output contains the downloaded file's content under the specified binary property name.
JSON
objectKey- The full path of the downloaded OSS object.
Dependencies
- Requires Alibaba Cloud OSS API credentials including region, accessKeyId, accessKeySecret, bucket, and optionally endpoint.
Troubleshooting
- Common issues include incorrect object key paths leading to file not found errors.
- Invalid or expired credentials causing authentication failures.
- Network or permission issues preventing access to the OSS bucket.
- Error messages typically include the error message from the Alibaba OSS SDK, which should be checked for details.
- To resolve errors, verify the object key, credentials, and bucket permissions.