GithubHelp home page GithubHelp logo

Resumable upload about webdav-daemon HOT 2 CLOSED

dumblob avatar dumblob commented on August 24, 2024
Resumable upload

from webdav-daemon.

Comments (2)

couling avatar couling commented on August 24, 2024

At this time chunked upload is not supported. Checking the code, it would need to seek() just here:

int ret = respond(RAP_RESPOND_CONTINUE);
but it doesn't. It would also need the appropriate header to be parsed and passed through...

And there I see a problem. I can't find anywhere in HTTP a way to make byte range based PUT or PATCH requests. There's no header nominated for it. @dumblob if you have a WebDAV client that does support resume on upload I'd be interested to know what headers it tries to send.

On the other hand this webdavd does support range requests on GET. IE downloads can be resumed as long as the content being downloaded is a file.

Unfortunately, I don't believe there's a way to implement the feature you're asking for so I'll close this issue. Feel free to re-open if you can find the right headers to support.

from webdav-daemon.

dumblob avatar dumblob commented on August 24, 2024

And there I see a problem. I can't find anywhere in HTTP a way to make byte range based PUT or PATCH requests. There's no header nominated for it. @dumblob if you have a WebDAV client that does support resume on upload I'd be interested to know what headers it tries to send.

Unfortunately no WebDAV client I know of supports resumable uploads (and probably chunked uploads neither).

Some HTTP clients (e.g. curl) use a trick to overcome this issue, but it has its drawbacks - https://stackoverflow.com/a/32963259 . Some also prefer to (ab)use the freedom HTTP gives us: https://stackoverflow.com/questions/20969331/standard-method-for-http-partial-upload-resume-upload . There is also tus but I'm not sure about its compatibility with WebDAV.

Generally this is the problem which is killing WebDAV IMHO. But that's off topic here 😉.

from webdav-daemon.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.