Skip to content

WebDAV

The WebDAV server lets you mount your files as a drive, in a file manager on your computer or in a phone app. The same users and access rules apply.

Switch it on

  1. Open Settings > Integrations.
  2. In the WebDAV and rclone card, switch on WebDAV server.
  3. Copy the Address. It ends in /dav/.

The WebDAV and rclone card with the WebDAV server switched on and its address, http://nas.local:8480/dav/.

Connect a client

Sign in with your name and password. Clients send both with every request, so use https outside your own network.

Use an API token as the password when your account has two-factor authentication or signs in through a sign-in service. With a read-only token the drive is read only. Wrong passwords from a WebDAV client count for your name as they do in the browser: after five, each further try waits a little longer, up to a minute. Put the new password into your clients soon after you change it.

Windows Explorer maps a WebDAV drive only over https. Put CannonCommander behind a reverse proxy with a certificate first, then:

  1. In Explorer, right click This PC and choose Map network drive.
  2. Enter https://files.example.com/dav/ as the folder.
  3. Tick Connect using different credentials and sign in.
  1. In Finder, choose Go > Connect to Server or press Cmd+K.
  2. Enter http://nas.local:8480/dav/ and click Connect.
  3. Sign in.

In most file managers, type the address into the location bar with dav:// in front:

dav://nas.local:8480/dav/

Use davs:// for an https address.

rclone config create cc webdav url=http://nas.local:8480/dav/ vendor=other user=anna pass=$(rclone obscure 'your-password')
rclone ls cc:

Plain http works for macOS, Linux, rclone and phone apps on your own network.

Behind a reverse proxy

The proxy has to pass the Host header on unchanged, since WebDAV checks it. See Reverse proxy.