Nextcloud Advanced icon

Nextcloud Advanced

Advanced Nextcloud operations such as recursive file listing

List Files

AI-generated

Summary

Recursively lists files beneath a Nextcloud folder using WebDAV, returning one n8n item per entry. Set the folder path to / for the root or provide a folder path; enable Return Directories to include folders as well as files.

Inputs

  • Folder Path — Folder to scan; defaults to /. Blank input is treated as root, and paths without a leading slash are given one.
  • Return Directories — Defaults to false, so results include files only. Enable to include directory entries.
  • Nextcloud credentials (required) — Uses the configured Nextcloud API credentials’ WebDAV URL, username, and password.

Output shape

A list of n8n items, one per matching file or directory.

Each item includes nodeId, path, displayName, isDirectory, contentType, size, and lastModified. Listing is recursive; the starting folder itself is excluded. Missing metadata may be returned as empty strings or zero.

Links

Discussion