Overview
This node enables interaction with a WebDAV server using NTLM authentication. It supports operations on files and folders stored remotely via the WebDAV protocol. Specifically, for the File Delete operation, it deletes a file at a specified path in the WebDAV storage.
Common scenarios include:
- Automating cleanup of files on a WebDAV server.
- Removing outdated or temporary files as part of a workflow.
- Managing remote file storage by deleting files no longer needed.
Example: Automatically delete log files older than a certain date from a WebDAV server to free up space.
Properties
| Name | Meaning |
|---|---|
| Path | The full path to the file in the WebDAV storage that you want to delete. This is a required string input. |
Output
The node outputs a JSON array where each element corresponds to the result of the delete operation for an input item. The exact structure depends on the underlying WebDAV client response but generally includes confirmation of deletion or error details if the operation failed.
No binary data output is produced by this operation.
Dependencies
- Requires a WebDAV server accessible with NTLM authentication.
- Needs an API credential configured in n8n that provides the necessary authentication (an API key or username/password with NTLM).
- Uses an internal WebDAV client library to perform file and folder operations.
Troubleshooting
Common issues:
- Incorrect file path: Ensure the "Path" property correctly points to the file location on the WebDAV server.
- Authentication failures: Verify that the NTLM credentials are correct and have sufficient permissions.
- Network connectivity problems: Confirm the WebDAV server is reachable from the n8n instance.
Error messages:
Unsupported resource: Occurs if the resource parameter is not "file" or "folder". Use only supported resources.- Errors related to file not found or permission denied will be returned from the WebDAV server; check the path and user rights.
Resolving these typically involves verifying input parameters, credentials, and network access.