Actions12
Download File
AI-generatedSummary
Downloads a single file from Synology File Station and returns it as binary data with metadata.
Inputs
- filePath — Absolute path of the file to download on the Synology DSM. If left unchanged, the node downloads the default file.
Output shape
json + binary attachment
Each input item produces one output item. On success, the output item has a JSON body containing
success,filePath,fileName, andsize(bytes), and abinary.dataproperty containing the downloaded file content. If an error occurs and 'Continue On Fail' is enabled, the output item containsjson.errorandjson.detailsinstead.
Examples
Example 1: For each input item, the node calls the Synology FileStation Download API with the configured DSM credentials and the provided `filePath`. It returns the file as a binary attachment plus a JSON summary of the download. The file name is derived from the last segment of `filePath`.
Downloads a single file from Synology File Station and returns it as binary data with metadata.
