Actions19
File → Copy
AI-generatedSummary
Copy a file or folder in Nextcloud from the Source Path to the Destination Path. Set Overwrite to true to replace an existing destination; it defaults to false.
Inputs
- Source Path (required) — Nextcloud path of the file or folder to copy, for example
/Documents/old-name.txt. - Destination Path (required) — Nextcloud path for the copy, including its new name, for example
/Documents/new-name.txt. - Overwrite — Whether to replace an item at the destination if one exists. Defaults to false.
Output shape
A single JSON item per input item after a successful copy.
Each item contains
success: true,sourcePath, anddestinationPath. The operation uses Nextcloud WebDAV COPY; errors stop execution unless Continue On Fail is enabled, in which case that input produces an item with anerrorfield.