antony Nextcloud icon

antony Nextcloud

Manage files, folders, shares, versions and search in Nextcloud

File → Get Info

AI-generated

Summary

Retrieve metadata for a file or folder at the specified Nextcloud path using WebDAV. Return the matching item’s metadata as one n8n output item for each input item.

Inputs

  • Path — Path to the file or folder in Nextcloud; defaults to /. The operation also resolves paths containing a Nextcloud file ID such as /f/123.

Output shape

A single metadata record per input item, with fields including name, path, isDirectory, lastModified, size, contentType, fileId, permissions, and etag.

Uses a WebDAV PROPFIND request at depth 0, so it retrieves metadata for the specified item without listing its contents. If the lookup returns no item, the output record is empty. Errors are thrown unless the node is configured to continue on fail, in which case an item with an error field is returned.

Links

Discussion