Synology Drive icon

Synology Drive

Synology Drive / FileStation operations

Upload from DSM

AI-generated

Summary

Upload one or more files from specified NAS shared folder paths on the Synology DSM to a destination folder within Synology Drive, handling naming conflicts as configured.

Inputs

  • DSM Source Paths (JSON) (required) — A JSON array listing the paths on the NAS shared folder to upload from.
  • Destination Folder (required) — The target folder path in Synology Drive where the files will be uploaded.
  • Conflict Action — Determines how to handle naming conflicts with existing files in the destination folder: skip, overwrite, or create a copy.

Output shape

a single JSON object indicating success status, file names, paths, and any returned data or error details from the upload operation

Performs the upload action via Synology Drive's API and returns an object with success status and relevant metadata or error information.

Examples

Example 1: Upload multiple files from NAS shared folders to a specific Synology Drive folder, overwriting existing files with the same name.

Set 'DSM Source Paths (JSON)' to an array of NAS source file paths; 'Destination Folder' to the target folder path; 'Conflict Action' to 'overwrite'.

Links

Discussion