Page 1 of 1

webdav and LOCK

PostPosted:Thu Nov 19, 2015 10:02 pm
by jlambert
Hello

I am running 6.3.0 build: 8156 and it does not support the webdav LOCK keyword.
Does this version or any version of openkm support the webdav LOCK header. Your demo server does not support it as you can see below.

thor:~ jlambert$ curl -i -X OPTIONS -u user0:pass0 http://demo.openkm.com/OpenKM/webdav/okm_root
HTTP/1.1 200 OK
Date: Thu, 19 Nov 2015 21:59:43 GMT
Allow: COPY,DELETE,MKCOL,PROPFIND,GET,HEAD,PROPPATCH,OPTIONS,MOVE,PUT,GET,HEAD
DAV: 1
MS-Author-Via: DAV
Content-Type: text/html;charset=UTF-8
Content-Length: 0
Vary: Accept-Encoding

Re: webdav and LOCK

PostPosted:Sat Nov 21, 2015 9:51 am
by jllort
What are you trying to do ? explain with detail because probably are other ways for getting the same.

Re: webdav and LOCK

PostPosted:Mon Nov 23, 2015 3:12 pm
by jlambert
I am trying to run a webdav server so that our business can access and edit the files stored in openkm without having to login into the web-ui.

Re: webdav and LOCK

PostPosted:Tue Nov 24, 2015 7:17 pm
by jllort
I do not know why you're using curl for accessing webdav, why you do not connect as network device as is explained here http://wiki.openkm.com/index.php/WebDAV_access

Re: webdav and LOCK

PostPosted:Tue Nov 24, 2015 8:01 pm
by jlambert
Okay,
I do not know why you're using curl for accessing webdav, why you do not connect as network device as is explained here http://wiki.openkm.com/index.php/WebDAV_access


I have set up Openkm to work with finder in Mac and webdrive. They both connect but it the case of webdrive there is no file lock so multiple users could edit the same file without any constraints. In the case of Finder it does not allow you to edit the documents at all because they open as read-only and not allow you to edit the file because it could not get a lock.

I want to mount the OpenKM drive in finder and be able to edit the files and still have versioning, etc. The only reason I was querying the server with CURL was to see the return of the webdav options to see which header options the webdav server supports.

That being said my base goal is to allow people to edit files with locks and versioning without actually using the web-ui at all. This is the reason I was investigating the webdav solution. If this cannot do what I wish I welcome alternative approaches to accomplish my goals.

Re: webdav and LOCK

PostPosted:Wed Nov 25, 2015 9:40 am
by jllort
The openkm community comes with webdav free library ( what seems not convers all cases and features, comes with some limitations ) but can be changed by commercial one, simply must be changed the jar library by commercial one. If you want information about it I can provide you the url of the WEBDAV project.

Re: webdav and LOCK

PostPosted:Wed Nov 25, 2015 4:49 pm
by jlambert
Okay, I will purchase a single website license to have access to the webdav server. Are you currently running the commercial version on your demonstration server? I need to make sure that I can make edits and that the versioning and locking will work with webdav.

Re: webdav and LOCK

PostPosted:Thu Nov 26, 2015 7:45 pm
by jllort
No we are not running commercial license on demo server. The library is here http://milton.io/

http://milton.io/about/license/index.html
Community version is using milton 1.8.1.3 ( can take a look here http://sourceforge.net/p/openkm/code/HE ... om.xml#l66 )