Synology Drive icon

Synology Drive

Synology Drive Node

File → Upload

AI-generated

Summary

Upload a binary file to Synology Drive at a specified path with configurable conflict resolution behavior.

Inputs

  • Path (required) — The destination path within Synology Drive where the file will be uploaded; should be a full path including directories and optionally ending with a filename.
  • Input Binary Field (required) — The name of the binary property in the input data that contains the file's binary content to upload.
  • Upload Conflict Action — The action to take if a file conflict occurs at the target path: Overwrite, Autorename, Stop, or Version.

Output shape

a single item confirming the upload result (the node's exact output shape is not explicitly detailed in source or properties).

This operation requires the input data to contain binary data under the specified binary field with an associated filename. An error is thrown if the binary data or filename is missing. The upload is done with a PUT request to the Synology Drive API. The conflict action dictates how naming conflicts are handled during upload.

Examples

Example 1: Upload a file named 'document.pdf' from the workflow's binary property 'fileData' to '/mydrive/shared/documents/document.pdf' with automatic versioning on conflict.

Set 'Path' to '/mydrive/shared/documents/document.pdf', 'Input Binary Field' to 'fileData', and 'Upload Conflict Action' to 'version'.

Links

Discussion