Actions7
File → Create File Or Folder
AI-generatedSummary
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.