Git Product home page Git Product logo

Comments (5)

ramondeklein avatar ramondeklein commented on August 25, 2024

It's not regulated by the WebDAV protocol, but by the underlying client application. It depends on the underlying client how they implement locking and collaboration.

from nwebdav.

Nikesh-Newaskar avatar Nikesh-Newaskar commented on August 25, 2024

So I believe WebDAV supports both Shared locks and exclusive locks. Does this implementation support both and if so then is there a way to set that ?

from nwebdav.

ramondeklein avatar ramondeklein commented on August 25, 2024

This implementation supports both shared and exclusive locks. It only supports in-memory locking, so you can't use multiple NWebDAV servers behind a load-balancer. Recursive locks (locking an entire folder) is also not supported.

Although it is possible to create you own locking manager (derive from ILockingManager) and implement a locking manager that uses Redis (for example) to support multiple NWebDAV servers and provide reliable locking.

from nwebdav.

Nikesh-Newaskar avatar Nikesh-Newaskar commented on August 25, 2024

The implementation that I have is a WebAPI. It has a endpoint listening for WebDAV request (specific url) and handles it using this webdav library. Currently the document is locked when opened from word and no other user is able to edit the document unless the previous instance of word(that the file was opened with) is closed. [Word gives a message saying the file is in use when someone else tries to open the document and on save gives error "document is locked for editing by another user ]

Is there a way I can achieve multiple users allowed to edit the file simultaneously ?

Thanks.

from nwebdav.

ramondeklein avatar ramondeklein commented on August 25, 2024

I know that Word has its own WebDAV client and I also know that Word 2016 (or later) supports co-editing when the document is stored on OneDrive or SharePoint. I haven't heard that Word supports co-editing on WebDAV drives.

from nwebdav.

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.