I want to perform Webdav PROPFIND request in javascript. How can i do that?
Asked
Active
Viewed 2,273 times
1
-
Hello, I not familar in Webdav, so I looked up what you mean with "Webdav PROPFIND". I found http://msdn.microsoft.com/en-us/library/aa142960%28v=exchg.65%29.aspx. It is this what that is? – Reporter May 09 '11 at 08:29
-
Well, the same way as with any other HTTP method. It would be helpful if you explained what you have trouble with. – Julian Reschke May 09 '11 at 08:44
-
I am unable to perform the request. not receiving answer – Erik Sapir May 09 '11 at 08:46
-
a) show us the source code. b) try to obtain an HTTP trace. – Julian Reschke May 09 '11 at 09:29
2 Answers
2
davclient.js is your answer.
http://debris.demon.nl/javascript/ (download davclient.js library)
API/docs included, but for your perusal right now: http://debris.demon.nl/projects/davclient.js/doc/davclient.html
This JS library allows for a whole bunch of webdav functions via javascript, including propfinds.
If you figure out how to determine if a given resource is locked, or not, please reply.

danjah
- 2,939
- 2
- 30
- 47
-
isLocked() in the davfs API fyi, if you ever feel like revisiting this Q or accepting an answer, etc :P – danjah Jul 04 '11 at 09:43
0
Furthermore, there is another library called jsdavclient: I never tested it but maybe you can have a look at that

Roberto Lanuti
- 11
- 1