[GH-ISSUE #335] Support resumable/partial uploads (PUT/PATCH) #179

Closed
opened 2026-04-08 16:50:55 +03:00 by zhus · 0 comments
Owner

Originally created by @smerschjohann on GitHub (Jan 4, 2024).
Original GitHub issue: https://github.com/sigoden/dufs/issues/335

Specific Demand

Some WebDAV implementation support partial uploads using custom protocols: https://blog.sphere.chronosempire.org.uk/2012/11/21/webdav-and-the-http-patch-nightmare

So where do things stand if you want resumable uploads over WebDAV?

    If your WebDAV server is Apache (or lighttpd!): use PUT with Content-Range, and ignore what RFC 5789 says about this being forbidden.
    If your WebDAV server is a recent SabreDAV: use PATCH with a SabreDAV-specific Content-Type.
    If your WebDAV server is anything else (nginx, IIS, ...) you're probably out of luck.

This allows a more efficient way to use the WebDAV protocol as the client does not have to reupload a whole file on update.
For example the WebdavFS FUSE driver supports this mode, therefore it would be very nice to see this feature implemented.

Implement Suggestion

Any of the two resumable features would work, maybe even implement both?

Originally created by @smerschjohann on GitHub (Jan 4, 2024). Original GitHub issue: https://github.com/sigoden/dufs/issues/335 ## Specific Demand Some WebDAV implementation support partial uploads using custom protocols: https://blog.sphere.chronosempire.org.uk/2012/11/21/webdav-and-the-http-patch-nightmare ``` So where do things stand if you want resumable uploads over WebDAV? If your WebDAV server is Apache (or lighttpd!): use PUT with Content-Range, and ignore what RFC 5789 says about this being forbidden. If your WebDAV server is a recent SabreDAV: use PATCH with a SabreDAV-specific Content-Type. If your WebDAV server is anything else (nginx, IIS, ...) you're probably out of luck. ``` This allows a more efficient way to use the WebDAV protocol as the client does not have to reupload a whole file on update. For example the [WebdavFS](https://github.com/miquels/webdavfs) FUSE driver supports this mode, therefore it would be very nice to see this feature implemented. ## Implement Suggestion Any of the two resumable features would work, maybe even implement both?
zhus closed this issue 2026-04-08 16:50:55 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sigoden/dufs#179