What is WebDAV? How do I mount a cloud drive?

Written in 2020/09/15

In the previous post we announced August's new WebDAV cloud-drive mounting feature, but didn't explain what WebDAV is. In the networked world, protocols are the language computers use to talk to each other — two machines speaking different protocols are like two people speaking different languages.

Networking reserves well-known ports for different protocols: HTTP on port 80, HTTPS on 443, SMTP on 25 for sending mail, IMAP on 143 for receiving, and FTP on 21 for file transfer. Ports have diversified with the spread of encryption, and less common ports are increasingly used to deter scanners, but HTTP and FTP transfers fundamentally run on separate ports.

HTTP and HTTPS mostly render web pages in a browser, which makes it hard for file-manager applications to show files. WebDAV (Web-based Distributed Authoring and Versioning) lets HTTP or HTTPS behave like a file-exchange protocol so clients can present files through a file-management interface — the result looks like FTP.

WebDAV was first developed in 2007. Since then, many clients have added support for it — Windows, Linux, Mac OS and more — but most support only the core features; non-core support varies by client and situation. The classic example: Windows doesn't support showing a WebDAV drive's used space or quota. The core functions, though, are supported across the board — uploading, downloading and creating folders are no problem.

Because WebDAV can stream directly, you can open files on a WebDAV drive, edit and save them as if local — no download-then-upload round trips. But through WebDAV and FTP, file presentation is slower than CloudFiles' optimised interface: WebDAV doesn't support our built-in resumable-upload technology, and CloudFiles compresses thumbnails and supports compressed video playback.

If you want mountable cloud storage, give CloudFiles a try!

References:
Official WebDAV site
WebDAV RFC
WebDAV mapped drive reports incorrect drive capacity