Can someone explain this strange (or normal) behaviour: I've got a WebDAV directory. In this folder, I have a word document, called document.doc.
When I open Word, and then choose "Open File" and fill in the whole URL, http://server/webdav/document.doc
, Word will open the document just fine. Changes I make are being saved on save click.
Now, when I make a HTML page with an anchor to this document like this:
<a href="http://server/webdav/document.doc">Edit document</a>
It will open the document just fine, but opens in Read-Only mode!
Investigation suggests that when you use Word to open the file, it will also function as WebDav client. So it will send the appropriate headers to lock the file etc. Calling it from an anchor, lets your browser do the GET. Then it will pass the document (downloaded??) to Word. Word does some HTTP calls on the file, but no LOCK and so.
Does anyone have any idea how I can solve this? I could write some PHP code to do the HTTP calls and so, but how do I get it in Word then?