ownCloud icon

ownCloud

Interact with ownCloud API (WebDAV and OCS)

File → List

AI-generated

Overview

This node interacts with the ownCloud API to perform various file operations such as listing files and folders, uploading, downloading, deleting, moving, copying, creating folders, and retrieving file metadata. It is useful for automating file management tasks within an ownCloud environment, for example, listing all files in a directory to process them further or uploading files from a workflow.

Use Case Examples

  1. List all files in a specific ownCloud directory to process or analyze them.
  2. Upload a file to ownCloud from binary data in a workflow.
  3. Download a file from ownCloud and use it in subsequent workflow steps.

Properties

Name Meaning
Path The file or folder path to operate on, either selected from a list or specified by path string starting with '/'.
Options Additional options for the operation, such as whether to overwrite an existing file when uploading.

Output

JSON

  • success - Indicates if the operation was successful (boolean).
  • path - The file or folder path involved in the operation.
  • from - Source path for move or copy operations.
  • to - Destination path for move or copy operations.
  • filename - Name of the file (for list operation).
  • basename - Base name of the file or folder (for list operation).
  • type - Type of the item, e.g., 'directory' or 'file' (for list operation).
  • size - Size of the file (for list operation).
  • mtime - Last modified time of the file or folder (for list operation).

Dependencies

  • Requires an ownCloud API key credential for authentication.

Troubleshooting

  • Common errors include 'Failed to load files' which may indicate connectivity or permission issues with the ownCloud server.
  • Errors related to missing binary data when uploading files require ensuring the specified binary property contains data.
  • Path validation errors occur if the path does not start with '/' when specified manually.

Links

Discussion