Qore xml Module 2.1.0
Loading...
Searching...
No Matches
WebDavClient Module

Introduction to the WebDavClient Module

The WebDavClient module provides a client implementation for the WebDAV protocol (RFC 4918).

This module provides the following classes:

Example

Here is an example of how to use this module:

%requires WebDavClient
WebDavClient client({"url": "https://webdav.example.com/files"});
# List directory contents
list<hash<WebDavResourceInfo>> resources = client.list("/");
# Upload a file
client.put("/test.txt", "Hello, World!");
# Download a file
*binary content = client.get("/test.txt");
# Create a directory
client.mkcol("/newdir/");
# Delete a resource
client.del("/test.txt");

Release Notes

WebDavClient v1.1

  • added polling ping support for WebDAV connections

WebDavClient v1.0

  • initial release