1

I want to perform Webdav PROPFIND request in javascript. How can i do that?

Erik Sapir
  • 23,209
  • 28
  • 81
  • 141

2 Answers2

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

it might be useful:

Furthermore, there is another library called jsdavclient: I never tested it but maybe you can have a look at that