Actions36
- List Files
- Search Files
- Download File
- Upload File
- Create Folder
- Rename
- Delete
- Copy / Move
- List Starred Files
- List Recent Files
- List Shared with Me
- List Shared with Others
- Get File Ancestors
- Create Share Link
- List Share Links
- Update Share Permissions
- List Labels
- Create Label
- Update Label
- Delete Label
- Add Label to File
- List Files by Label
- Star File
- Convert Office File
- List Team Folders
- Get Team Folder Members
- Create Webhook
- List Webhooks
- Get Webhook
- Update Webhook
- Delete Webhook
- Get File Thumbnail
- Upload from DSM
- Request Access
- Custom Drive Call
- List Drive APIs
Download File
AI-generatedSummary
Download a file from Synology Drive by specifying its file path and store the downloaded content in a binary field within the workflow item.
Inputs
- Path (required) — The full path to the file on Synology Drive to download.
- Binary Field Name — The name of the binary field in which to store the downloaded file data. Defaults to 'data'.
- Extra Params (JSON) — Additional parameters in JSON format to include in the API request.
Output shape
A single workflow item containing the file metadata in JSON and the downloaded file content in the specified binary field.
On success, returns an object with a
jsonproperty includingsuccess,metadata(fileName, size in bytes, and path), and abinaryproperty containing the file data under the specified binary field. On failure, returns an object withsuccess: falseand anerrormessage.
