Skip to content
Auto
Products

WebDAV file system

This file system provides an implementation for the file system based on a WebDAV server. It is built on HttpClient alone, so the package adds no dependency beyond TagBites.IO.

var address = "https://webdav.example.com";
var username = "user";
var password = "password";
using var fileSystem = TagBites.IO.WebDav.WebDavFileSystem.Create(address, username, password);
// ... using like standard file system

username and password can be omitted when the server does not require authentication. For full control over the connection, pass a WebDavConnectionConfig instead.

The address must be absolute and use http:// or https://.

  • Asynchronous operations. Synchronous calls run on top of them.
  • Metadata: none. The server decides what it keeps.
  • Requires an absolute http:// or https:// address.

Full implementation on github: TagBites.IO.WebDav.