Actions19
Folder → List Contents
AI-generatedSummary
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, andetag. An empty folder returns no items.