WebDAV icon

WebDAV

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

Файл → Копировать

AI-generated

Summary

Copy a file or folder to a new location on a WebDAV server

Inputs

  • path (required) — Source path of the file or folder to copy
  • targetPath — Destination path where the item will be copied
  • overwrite — If true, overwrite the target if it already exists
  • createParentFolders — Create intermediate directories in the target path if they do not exist
  • serverType — Type of WebDAV server (standard, yandexDisk, nextcloud, owncloud, sharepoint)

Output shape

a single record describing the copied item

Fields include success, sourceFile, targetFile, name, size, lastModified, operation; may be returned as an array element

Examples

Example 1: Copy a remote file to a new folder with overwrite disabled

path=/remote/file.txt, targetPath=/new/folder/file.txt, overwrite=false, createParentFolders=true, serverType=standard

Example 2: Copy a folder recursively, creating missing parent folders

path=/remote/folder, targetPath=/local/folder, createParentFolders=true, overwrite=true

Discussion