Synology Drive icon

Synology Drive

Synology Drive Node

File → Create File Or Folder

AI-generated

Summary

Create a file or folder at a specified path in Synology Drive. Specify whether to create a file or folder, provide the path, and if creating a file, provide its text content.

Inputs

  • Type (required) — Select whether to create a 'File' or a 'Folder'.
  • File Content (required) — Provide the text content to be written to the file; required only if creating a file.
  • Path (required) — Specify the full path where the file or folder should be created, e.g., '/mydrive/foldername'.

Output shape

a single record

Returns JSON response from the Synology Drive API representing the created file or folder. The operation does not return a binary file.

Links

Discussion