Actions14
File → Upload
AI-generatedOverview
This node interacts with the ownCloud API to perform file operations such as uploading, downloading, deleting, listing, moving, copying, and retrieving file metadata. It is useful for automating file management tasks within ownCloud, such as uploading binary data from workflows, managing directories, and handling file shares. For example, it can upload a file from binary data in the workflow to a specified path in ownCloud, optionally overwriting existing files.
Use Case Examples
- Uploading a binary file from the workflow to ownCloud at a specified path, with an option to overwrite existing files.
- Listing contents of a directory in ownCloud to process or analyze files.
- Downloading a file from ownCloud and using it in subsequent workflow steps.
Properties
| Name | Meaning |
|---|---|
| Path | The file or folder path in ownCloud to operate on. It supports selecting from a list or specifying a path string starting with '/'. |
| Binary Property | The name of the field in the input item that contains the binary data to upload. |
| Options | Additional options for the operation, such as whether to overwrite an existing file during upload. |
Output
JSON
success- Indicates if the operation was successful (true/false).path- The file or folder path involved in the operation.
Dependencies
- Requires an API key credential for ownCloud API authentication.
Troubleshooting
- Common issues include missing binary data in the specified binary property field, which results in an error indicating no binary data found.
- Errors related to file paths not starting with '/' when specifying paths manually.
- API errors from ownCloud such as permission denied or file not found, which should be handled by checking credentials and path correctness.
Links
- ownCloud WebDAV API Documentation - Official documentation for ownCloud WebDAV API used for file operations.