Task Net - WebDAV - Delete
The WebDAV - Delete Task deletes files or folders in a folder on a WebDAV server.

This Task uses a WebDAV Connection; see Connection - WebDAV. Any server certificate is accepted, so the Server cannot tell the real server from another server that answers at the same address. Port is the local port, not the port of the server.
A new WebDAV Connection has Authentication type "Basic", which sends the user name and password in a form that anyone who can see the traffic can read, unless the address starts with "https://"; see Connection - WebDAV.
The Main settings, Flow, On error, Conditions and TimeOut tabs are the same for every Task; see Job - Tasks.
-
Connection: the WebDAV Connection with the server address, sign-in and proxy settings
-
Relative folder/file URL: the base folder, relative to the address of the Connection
Use the folder browse button to select a folder from the server; select a Connection first.
-
File/folder mask: the items to delete,
*by defaultEnter an exact name, which is matched without regard to case, or a wildcard pattern such as
*for all items or*.csvfor CSV files. Use the file browse button to fill it from a file. Only the items directly in the base folder are matched. -
Delete filter: what to delete:
- "Files" (default): the matching files
- "Folders": the matching folders, each with all its contents
- "All": the matching files and folders, and then the base folder itself, with everything left in it
The output lists each item that was deleted. The base folder that "All" deletes is not listed.
With Delete filter "All", the Task deletes the base folder in Relative folder/file URL and everything in it, including items that do not match File/folder mask. To keep the folder, use "Files" or "Folders". With "Folders" and the mask *, every folder in the base folder is deleted with its contents.