Synology File Station icon

Synology File Station

List/Upload/Download/Create/Delete via Synology File Station API

Download

AI-generated

Summary

Download a file from Synology File Station by specifying its full path, returning the file's binary data under a chosen binary property.

Inputs

  • Path (required) — Full path to the file to download on Synology File Station.
  • Binary Property (required) — Name of the binary property to store the downloaded file's data; defaults to 'data'.

Output shape

A single item containing empty JSON and binary data under the specified binary property.

The operation outputs one item per input, each with an empty JSON object and a binary property holding the downloaded file's contents. The filename used matches the source file's name from the path.

Examples

Example 1: Download a file at '/documents/report.pdf' and store it in the 'fileData' binary property.

Set 'Path' to '/documents/report.pdf' and 'Binary Property' to 'fileData'.

Discussion