antony Nextcloud icon

antony Nextcloud

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

Folder → List Contents

AI-generated

Summary

Lists the files and folders at a Nextcloud path, optionally including all nested subdirectories. Returns one n8n item per listed entry with its name, path, directory flag, modification time, size, content type, file ID, permissions, and ETag.

Inputs

  • Path — Nextcloud folder path to list; defaults to /.
  • List Subdirectories Recursively — Defaults to false. When enabled, includes entries from nested directories; otherwise lists only the folder's immediate contents.

Output shape

A list of items, one per returned file or folder.

The requested folder itself is excluded. Each item's JSON contains name, path, isDirectory, lastModified, size, contentType, fileId, permissions, and etag. An empty folder returns no items.

Links

Discussion