8 ms·
WebDAV isn't dead yet
- rubatuga 1y agoNo random writes is the nail in the coffin for me
- jauntywundrkind 1y agoIt's HTTP, of course there's an extension for that? Sabre-DAV's implementation seems to be relatively well implemented. It's supported in webdavfs for example. Here's some example headers one might attach to a PATCH request: X-Update-Range: append X-Update-Range: bytes=3-6 X-Update-Range: bytes=4- X-Update-Range: bytes=-2 https://sabre.io/dav/http-patch/ https://sabre.io/dav/http-patch/ https://github.com/miquels/webdavfsl https://github.com/miquels/webdavfsl Another example is this expired draft. I don't love it, but it uses PATCH+Content-Range. There's some other neat ideas in here, and shows the versatility & open possibility (even if I don't love re-using this header this way). https://www.ietf.org/archive/id/draft-wright-http-patch-byterange-04.html#name-introduction https://www.ietf.org/archive/id/draft-wright-http-patch-byte... Apache has has a PUT with Content-Range, https://github.com/miquels/webdav-handler-rs/blob/master/doc/Apache-PUT-with-Content-Range.md https://github.com/miquels/webdav-handler-rs/blob/master/doc... Great write-up in rclone on trying to support partial updates, https://forum.rclone.org/t/support-putstream-for-webdav-servers-with-partial-update-support/27247 https://forum.rclone.org/t/support-putstream-for-webdav-serv... It would be great to see a proper extension formalized here! But there are options.
- sublinear 1y agoThis blog post didn't convince me. I must assume the default for most web devs in 2025 is hosting on a Linux VM and/or mounting the static files into a Docker container. SFTP is already there and Apache is too. The last time I had to deal with WebDAV was for a crusty old CMS nobody liked using many years ago. The support on dev machines running Windows and Mac was a bit sketchy and would randomly have files skipped during bulk uploads. Linux support was a little better with davfs2, but then VSCode would sometimes refuse to recognize the mount without restarting. None of that workflow made sense. It was hard to know what version of a file was uploaded and doing any manual file management just seemed silly. The project later moved to GitLab. A CI job now simply SFTPs files upon merge into the main branch. This is a much more familiar workflow to most web devs today and there's no weird jank.
- indigodaddy 1y agoCopyparty has webdav and smb support (among others), which makes it a good candidate to combine with a Kodi client perhaps?
- Tractor8626 1y agoIf you need sftp independent of unix auth - there is sftpgo. Sftpgo also supports webdav, but for use cases in the article sftp is just better.
- sylens 1y agoAuthor seems to conflate S3 API with S3 itself. Most vendors are now including S3 API compatibility into their product because people are so used to using that as a model
- PunchyHamster 1y agoMore like attempt at S3 API compatibility...
- dangus 1y agoI was about to make a very similar comment. There really is nothing wrong with the S3 API and the complaints about Minio and S3 are basically irrelevant. It’s an API that dozens of solutions implement.
- notpushkin 1y agoThey do mention S3-compatible servers later in the post. It really seems to be about protocol itself.
- cricalix 1y ago"FTP is dead" - shared web hosting would like a word. Quite a few web hosts still talk about using FTP to upload websites to the hosting server. Yes, these days you can upload SSH keys and possibly use SFTP, but the docs still talk about tools like FileZilla and basic FTP. Exhibit A: https://help.ovhcloud.com/csm/en-ie-web-hosting-ftp-storage-connection?id=kb_article_view&sysparm_article=KB0052697 https://help.ovhcloud.com/csm/en-ie-web-hosting-ftp-storage-...
- deleted 1y ago[deleted]
- jasongill 1y agoShared hosting is dying, but not yet dead; FTP is dying with it - it's really the last big use case for FTP now that software distribution and academia have moved away from FTP. As shared hosting continues to decline in popularity, FTP is going along with it. Like you, I will miss the glory days of FTP :'(
- theshackleford 1y agoShared hosting is in decline in much the same way as it was in 2015. Aka everyone involved is still making money hand over fist despite continued reports of its death right around the corner.
- jasongill 1y agoNo, not at all the case. There has been continued consolidation of the shared hosting space, plus consumer interest in "a website" has declined sharply now that small businesses just feel that they need an instagram to get started. Combine that with site builders eating at shared hosting's market share, and it's not looking good for the future of the "old school" shared hosting industry that you are thinking of.
- SoftTalker 1y agoSeems short sighted, a lot of older people and privacy conscious people of all ages avoid social media. But I guess if they are sustaining a business on only Instagram, good for them.
- mastax 1y agoRelatedly, is there a good way to expose a directory of files via the S3 API? I could only find alpha quality things like rclone serve s3 and things like garage which have their own on disk format rather than regular files.
- elitepleb 1y agoconsider versitygw or s3proxy
- deleted 1y ago[deleted]
- williamjackson 1y agoI was surprised, then not really surprised, when I found out this week that Tailscale's native file sharing feature, Taildrive, is implemented as a WebDAV server in the network. https://tailscale.com/kb/1369/taildrive https://tailscale.com/kb/1369/taildrive
- nine_k 1y agoWhat else would you expect, just out of curiosity? SMB? NFS? SSHFS?
- worik 1y agoA proprietary binary patented protocol...
- PunchyHamster 1y agoand do what, implement virtual filesystem driver for every OS ?
- HumanOstrich 1y agoOnly if adding that complexity locks in more subscribers for premium features and support.
- 1123581321 1y agoI built a simple WebDAV server with Sabre to sync Devonthink databases. WebDAV was the only option that synced between users of multiple iCloud accounts, worked anywhere in the world and didn’t require a Dropbox subscription. It’s a faster sync than CloudKit. I don’t have other WebDAV use cases but I expect this one to run without much maintenance or cost for years. Useful protocol.
- walterbell 1y agoiOS DevonThink sync WebDAV has been reliable, fast, maintained, non-subscription and includes a web scraper. Good for saving LLM chatbot markdown.
- cyberpunk 1y agoI use webdav for serving media over tailscale to infuse when I'm on the move. SMB did not play nicely at all and nfs is not supported.. The go stdlib has quite a good one that just works with only a small bit of wrapping in a main() etc. Although ive since written one in elixir that seems to handle my traffic better.. (you can also mount them on macos and browse with finder / shell etc which is pretty nice)
- deleted 1y ago[deleted]
- moritz 1y agodou you happen to have the source code open somewhere? i was just looking into webdav via elixir
- cyberpunk 1y agoIt's just a single file really, it's super rough I should get around to cleaning it up sometime. Only supports reading. https://pastebin.com/nUVm9tnf https://pastebin.com/nUVm9tnf
- netsharc 1y agoOne interesting use of WebDAV is SysInternals (which is a collection of tools for Windows), it's accessible from Windows Explorer via WebDAV by going to \\live.sysinternals.com\Tools
- gruez 1y agoIsn't that SMB, not webdav?
- MrDrMcCoy 1y agoIIRC, Windows for a while had native WebDAV support in Explorer, but setting it up was very non-obvious. Not sure if it still does, since I've moved fully to Linux.
- netsharc 1y agoI guess the "\\$HOSTNAME\$DIR" URL syntax in Windows Explorer also works for WebDAV. Is it safe to have SMB over WAN? I just tried https://live.sysinternals.com/Tools https://live.sysinternals.com/Tools in Windows Explorer, and it also lists the files, identical to how it would show the contents of any directory. Even running "dir \\live.sysinternals.com\Tools", or starting a program from the command prompt like "\\live.sysinternals.com\Tools\tcpview64" works.
- muststopmyths 1y ago"\\server\share" is called a UNC path, which can be served by SMB, WebDAV or another type of server. (old ref, but the architecture hasn't changed AFAIK) Ref: https://learn.microsoft.com/en-us/previous-versions/windows/it-pro/windows-2000-server/cc939978(v=technet.10)?redirectedfrom=MSDN https://learn.microsoft.com/en-us/previous-versions/windows/...
- jeroenhd 1y agoI wonder how much better WebDAV must have gotten with newer versions of the HTTP stack. I only used it briefly in HTTP mode but found the clients to all be rather slow, barely using tricks like pipelining to make requests go a little faster. It's a shame the protocol never found much use in commercial services. There would be little need for official clients running in compatibity layers like you see with tools like Gqdrive and OneDrive on Linux. Frankly, except for the lack of standardised random writes, the protocol is still one of the better solutions in this space. I have no idea how S3 managed to win as the "standard" API for so many file storage solutions. WebDAV has always been right there.
- mid1221213 1y agoOn the same topic, and because I believe too that WebDAV is not dead, far from it, I published a WIP lastly, part of a broader project, that is an nginx module that does WebDAV file server and is compatible with NextCloud sync clients, desktop & Android. It can be used with Gnome Online Accounts too, as well as with Nautilus (and probably others), as a WebDAV server. Have a look there: https://codeberg.org/lunae/dav-next https://codeberg.org/lunae/dav-next /!\ it's a WIP, thus not packaged anywhere yet, no binary release, etc… but all feedback welcome
- apitman 1y agoIf you have to call out compatibility with specific clients doesn't that indicate pretty serious issues with the spec?
- cyberax 1y agoI'm using WebDAV to sync files from my phone to my NAS. There weren't any good alternatives, really. SMB is a non-starter on the public Internet (SMB-over-QUIC might change that eventually), SFTP is even crustier, rsync requires SSH to work. What else?
- MrDrMcCoy 1y agoSyncthing is pretty nice for that sort of thing.
- PunchyHamster 1y agoSyncthing is great but it does file sync, not file sharing, so not ideal when you say want to share a big media library with your laptop but not necessarily load everything on it
- MrDrMcCoy 1y agoThat moves the goalpost. The user I was replying to wanted sync and didn't seem to be using other functionality like that.
- cyberax 1y agoI have just tried to run their unofficial apps, but I couldn't make them work.
- sunaookami 1y agoRecently set up WebDAV for my Paperless-NGX instance so my scanner can directly upload scans to Paperless. I wish Caddy would support WebDAV out of the box, had to use this extension: https://github.com/mholt/caddy-webdav https://github.com/mholt/caddy-webdav
- xattt 1y agoWhich scanner, if you don’t mind me asking? I’ve got a decade+ old ix500 that had cloud support but not local SMB.
- sunaookami 1y agoEPSON WorkForce ES-580W. Got it from eBay with "damaged packaging" (not really) from Epson Outlet Store in my country. With a discount code I only paid 324 €. There is also an official promotion by Epson (in Europe only maybe?) where you get 75 € cashback for this scanner, so effectively 249 € which is a VERY good price. Also supports SMB but I'm running Paperless on my VPS, hence I used WebDAV (if you do this: the scanner will do a GET request to the WebDAV url first which must be answered with a 200 OK or it will never try WebDAV). I debated between this scanner and the Brother ADS-1800W but the Brother has a slow UI and no thingy where the paper lands when it's done scanning (not sure how it's called in English).
- xattt 1y agoThank you!
- warabe 1y agoJust like the author, I use WebDAV for Joplin, also Zotero. Just love them so much. We need to keep using open protocols such as WebDAV instead of depending on proprietary APIs like the S3 API.
- ctippett 1y ago> In fact, you're already using WebDAV and you just don't realize it. Tailscale's drive share feature is implemented as a WebDAV share (connect to http://100.100.100.100:8080 http://100.100.100.100:8080). You can also connect to Fastmail's file storage over WebDAV. WebDAV is neat.
- nickcw 1y agoI wrote both the WebDAV client (backend) for rclone and the WebDAV server. This means you can sync to and from WebDAV servers or mount them just fine. You can also expose your filesystem as a WebDAV server (or your S3 bucket or Google Drive etc). The RFCs for WebDAV are better than those for FTP but there is still an awful lot of not fully specified stuff which servers and clients choose to do differently which leads to lots of workarounds. The protocol doesn't let you set modification times by default which is important for a sync tool, but popular implementations like owncloud and nextcloud do. Likewise with hashes. However the protocol is very fast, much faster than SFTP with it's homebrew packetisation as it's based on well optimised web tech, HTTP, TLS etc.
- m463 1y agoI wonder how you would compare it to nfs (which I believe can be TCP based, and probably encrypted) Not that it is a good comparison. NFS isn't super popular, macos can do it, I don't think windows can. But both windows and macos can do webdav.
- deleted 1y ago[deleted]
- devttyeu 1y agoNFS is much slower, maybe unless you deploy it which RDMA. I believe even 4.2 doesn’t really support asynchronous calls or has some significant limitations around them - I’ve commonly seen a single large write of a few gigs starve all other operations including lstat for minutes. Also it’s borderline impossible to tune nfs to go above 30gbps or so consistently, with WebDAV it’s a matter of adding a bunch more streams and you’re past 200gbps pretty easily.
- Saris 1y agoMy experience with NFS is its not very fast, compared to SMB or WebDAV
- apitman 1y agoThank you for rclone. In your opinion, is WebDAV good enough to be the protocol for exposing file systems over HTTP, or is there room for something better? I was bullish on Solid but they don't seem to be making much progress.
- PunchyHamster 1y ago> FTP is dead (yay), Hahahaha, haha, ha, no. And probably (still)more used than WebDAV pls send help
- spragl 1y agoYeah, that must have been wishful thinking. FTP is such a clunky protocol, it is peculiar it has had such staying power.
- Velocifyer 1y agoJMAP will eventually replace WebDAV.
- ezst 1y agoThat's some wishful thinking. I understand the case for JMAP above IMAP, I understand how "it makes sense" to NIH the rest of cal/cardDAV, I'm not sure what the sales pitch for file transfer is, though, especially when the ecosystem is pretty much inexistant.
- throwaway87502 1y ago> While writing this article I came across an interesting project under development, Altmount. This would allow you to "mount" published content on Usenet and access it directly without downloading it... super interesting considering I can get multi-gigabit access to Usenet pretty easily. There is also NzbDav for this too, https://github.com/nzbdav-dev/nzbdav https://github.com/nzbdav-dev/nzbdav
- panny 1y ago>It's broadly available as you can see And yet, I can never seem to find a decent java lib for webdav/caldav/carddav. Every time I look for one, I end up wanting to write my own instead. Then it just seems like the juice isn't worth the squeeze.
- citruspi 1y agoOmniFocus also supports WebDAV for folks that prefer to self-host - https://support.omnigroup.com/documentation/omnifocus/universal/4.3.3/en/managing-your-data/#sync-advanced-webdav https://support.omnigroup.com/documentation/omnifocus/univer...
- walterbell 1y agoKudos to Omni Group for supporting open-standard on-prem sync.
- ycui1986 1y agoThe Windows built-in WebDAV in explorer embarrassingly slow. Pretty much unusable for anything serious.
- nine_k 1y agoOTOH gio-based WebDAV access built into Nautilus and Thunar is something I use daily, and it works quite fine, for a FUSE-based filesystem. Unlike NFS or SMB, WebDAV mounts do not get stuck for a minute when the connection becomes unstable.
- EvanAnderson 1y agoFor sure. I tried to setup a collaboration environment for a Customer years ago using WebDAV over SSL in lieu of Dropbox. Everything worked great (authenticating to Active Directory, NTFS ACLs, IP address restrictions in IIS policy where necessary, auditing access in Windows security log and IIS logs, no client to install), but the Windows client experience was hideously slow. People hated it for that and it got no traction.
- Tepix 1y agoIn my experience, WebDAV has always been slow, no matter which platform. Can WebDAV be made fast?
- latchkey 1y agoIt has been 16 years since I started this webdav client for Java: https://github.com/lookfirst/sardine https://github.com/lookfirst/sardine Still going.
- aborsy 1y agoA lot of apps support WebDAV. It seems to be better supported than SFTP? You can run a WebDAV server using caddy easily.
- adriatp 1y agoI feel the pain when you refeer to MinIO. I ended up using a pre 15 version in order to have all previous features but that sucks. I will try this.
- tealpod 1y agoFTP is not dead. A huge percent of Wind Turbines use FTP for data transfer.
- warpspin 1y ago> Lots of tools support it: [...| Windows Explorer (Map Network Drive, Connect to a Web site...) Not sure he ever tried supporting that. We once did and it was a nightmare. People couldn't handle it at all even with screenshotted manuals. My personal experience says that even the dumbest user is able to use FileZilla successfully, and therefore SFTP, while people just don't get the built-in WebDAV support of the OSes. I also vaguely recall that WebDAV in Windows had quite a bit of randomly appearing problems and performance issues. But this was all a while ago, might have improved since then.
- jFriedensreich 1y agoif operating systems had just put a bit more time into the clients and not stopped any work in 2010 or so, webdav could have been much more, covering many usecases of fuse. unfortunately especially the mac webdav and finders outdated architecture make this just too painful
- dabinat 1y agoI feel like WebDAV will have staying power for a simple reason: it’s easy to understand and implement. My company has a cloud platform for people to share files and I am working on a feature to allow it to work as a drive through WebDAV. We may support other protocols later on but WebDAV made the most sense to start off with because we already have all the infrastructure we need to deliver files over HTTP. The amount of additional complexity to support WebDAV was near-zero and the amount to support other protocols would be a lot more.
- chrisandchris 1y agoFully agree, it's boring technology (tm) and that's usually the way to go (instead of relying on the next big thing), also it's an open standard.
- rapnie 1y ago> I should have titled this post "I hate S3". Use it where it makes sense. And S3 does not necessarily equate to using Amazon. I like the Garage S3 project that is interesting for smaller scale uses and self-hosted systems. The project is funded with EU Horizon grants via NLnet. https://garagehq.deuxfleurs.fr/ https://garagehq.deuxfleurs.fr/
- donatj 1y agoI should write a related article "I hate that the AWS S3 SDK has become a defacto web protocol"
- OJFord 1y agoYou hate that there is a standard, or aspects of this one? (Or that it's a de facto standard, not clearly specified for example what's required and what just happens to be in AWS' implementation?)
- paulddraper 1y agoThe S3 protocol (particularly the authentication) is unnecessarily complex and could have used existing simpler choices.
- bcye 1y agooff-topic but it really is awesome on how many OSS projects Horizon/NLnet/NextGen Europe pops up.
- ksk23 1y agoBeautiful.
- donatj 1y agoI wish 9p would be more generally available. Both Windows and Mac have 9p support built in and both have locked away from the end user. Windows has it exclusively for communication with WSL. macOS has 9p but it's exclusively for communication with it's virtualization system. It would be amazing if I could just mount 9p from the UI.
- mightysashiman 1y ago> FTP is dead Says who?
- CyberDildonics 1y agoThis seems like another article where they never define the acronym they use and expect everyone to have seen it already. WebDAV (Web Distributed Authoring and Versioning) is a set of extensions to the Hypertext Transfer Protocol (HTTP), which allows user agents to collaboratively author contents directly in an HTTP web server by providing facilities for concurrency control and namespace operations, thus allowing the Web to be viewed as a writeable, collaborative medium and not just a read-only medium.[1] WebDAV is defined in RFC 4918 by a working group of the Internet Engineering Task Force (IETF). https://en.wikipedia.org/wiki/WebDAV https://en.wikipedia.org/wiki/WebDAV
- 93n 1y agoNative WebDAV mount support in Android would be handy. I use davx5 (https://github.com/bitfireAT/davx5-ose https://github.com/bitfireAT/davx5-ose), but accessing files is a bit clunky. I like WebDAV because it 'just works' with the mTLS infra I had already setup on my homelab for access from the outside world. I use sftpgo (https://sftpgo.com/ https://sftpgo.com/) on the server side.
- apitman 1y agoIMO the achilles heel of "Web"DAV is that there doesn't seem to be an easy way to add it to web apps, which precludes using it as a remote file system a la Google Drive. I'm assuming this is because browsers won't let you make PROPFIND et al requests, but I haven't actually tested that.
- garganzol 1y agoWebDAV is not bad, but could be better. One of its dark corners is file upload. By standard, it uses good old POST-style uploads where the whole file is uploaded as a single blob. If the file is large enough, good luck uploading it to a HTTP server that has a cap on requests. A standard way of doing progressive chunked uploads would be a solid improvement. However, older protocols like this have an air of lacking supervision which is a shame.
- p0w3n3d 1y agoMy experience with WebDAV is that it's painfully slow with multiple files. I wonder if HTTP/3 would help