WebDAV icon

WebDAV

Работа с файлами через WebDAV

Папка → Список

AI-generated

Summary

Lists the contents of a WebDAV folder, optionally recursively and with detailed file info.

Inputs

  • path (required) — Full path to the folder on the WebDAV server (e.g., /docs)
  • recursive — If true, include contents of all subfolders recursively
  • details — If true, each entry includes detailed metadata like size, MIME type, and last modified date
  • serverType — Type of WebDAV server (standard, yandexDisk, nextcloud, owncloud, sharepoint) affecting authentication nuances

Output shape

array of objects representing directory entries

Each entry contains at least name and type; when details is true it also includes size, lastModified, and mime. If recursive is true nested entries are included; otherwise only immediate children are returned.

Examples

Example 1: List immediate files in a folder without extra details

path set to "/project/data", recursive false, details false, serverType default

Example 2: Recursively list all subfolders and gather detailed metadata

path "/backup", recursive true, details true, serverType set to "nextcloud"

Example 3: Create a folder before listing its contents

operation LIST on a folder path "/new_folder", details true, recursive false, createParentFolders true to ensure folder exists

Discussion