WebDavNTML icon

WebDavNTML

Interact with WebDav with NTML auth

Actions6

Overview

This node enables interaction with a WebDAV server using NTLM authentication. Specifically, for the "Folder" resource and the "Delete" operation, it allows users to delete a folder at a specified path on the WebDAV storage. This is useful in scenarios where automated cleanup or management of directories on a remote WebDAV server is required, such as removing obsolete folders or managing storage space.

Practical example: Automatically deleting temporary folders created during a workflow after processing is complete.

Properties

Name Meaning
Path The path to the folder in the WebDAV storage that you want to delete. This must be provided as a string representing the folder location.

Output

The node outputs a JSON array containing the results of the delete operations performed on the folders. Each element in the array corresponds to one input item processed and typically includes information about the success or failure of the deletion action. The exact structure depends on the underlying WebDAV client response but generally confirms whether the folder was deleted.

No binary data output is produced by this operation.

Dependencies

  • Requires a WebDAV server accessible via NTLM authentication.
  • Needs an API key credential configured in n8n for authenticating with the WebDAV server.
  • Uses an internal WebDAV client helper function to perform folder operations.

Troubleshooting

  • Common issues:

    • Incorrect folder path: Ensure the "Path" property correctly points to an existing folder on the WebDAV server.
    • Authentication failures: Verify that the NTLM credentials are correct and have sufficient permissions to delete folders.
    • Network connectivity problems: Confirm that the WebDAV server is reachable from the n8n instance.
  • Error messages:

    • Unsupported resource: Occurs if a resource other than "File" or "Folder" is selected; ensure "Folder" is chosen for this operation.
    • Errors related to folder deletion will typically come from the WebDAV client and may indicate permission issues or non-existent paths. Check the folder path and credentials.

Links and References

Discussion