It seems everything goes well with Slide, but Word expects a different answer when it creates the new file. This is the interesting part of the communication:

Word sends
----------

LOCK /slide/files/Word-Doc9.doc HTTP/1.1
Content-Language: en-us
Accept-Language: de, en-us;q=0.2
Content-Length: 176
Timeout: Second-180
Translate: f
Content-Type: text/xml
Depth: 0
User-Agent: Microsoft Data Access Internet Publishing Provider DAV
Host: milhouse.finix.de:8888
Connection: Keep-Alive
Cookie: JSESSIONID=F11A32323ECA727AA55C2FF7A65056C2

<?xml version="1.0" encoding="UTF-8" ?>
<lockinfo xmlns="DAV:">
<locktype>
<write/>
</locktype>
<lockscope>
<exclusive/>
</lockscope>
<owner>olli</owner>
</lockinfo>

Slide replies
-------------

HTTP/1.1 200 OK
Lock-Token: <opaquelocktoken:140e3a8b47f584338918bf8a2aa9e311>
Content-Type: text/xml; charset="UTF-8"
Transfer-Encoding: chunked
Date: Mon, 22 Mar 2004 14:24:32 GMT
Server: Apache Coyote/1.0

<?xml version="1.0" encoding="UTF-8"?>
<D:prop xmlns:D="DAV:">
<D:lockdiscovery>
<D:activelock>
<D:locktype>
<D:write />
</D:locktype>
<D:lockscope>
<D:exclusive />
</D:lockscope>
<D:depth>0</D:depth>
<D:owner><![CDATA[olli]]></D:owner>
<D:timeout>Infinite</D:timeout>
<D:locktoken> <D:href>opaquelocktoken:140e3a8b47f584338918bf8a2aa9e311</D:href>
</D:locktoken>
<D:principal-URL>
<D:href>/slide/users/unauthenticated</D:href>
</D:principal-URL>
</D:activelock>
</D:lockdiscovery>
</D:prop>



Word sends ----------

PUT /slide/files/Word-Doc9.doc HTTP/1.1
Content-Language: en-us
Accept-Language: de, en-us;q=0.2
If: (<opaquelocktoken:140e3a8b47f584338918bf8a2aa9e311>)
Translate: f
Content-Length: 0
User-Agent: Microsoft Data Access Internet Publishing Provider DAV
Host: milhouse.finix.de:8888
Connection: Keep-Alive
Cookie: JSESSIONID=F11A32323ECA727AA55C2FF7A65056C2


Slide replies -------------

HTTP/1.1 204 No Content
ETag: f8ced3ac54ed3bfb83510e97d9aa8506
Date: Mon, 22 Mar 2004 14:24:32 GMT
Server: Apache Coyote/1.0


Anyone any ideas, what Word may expect as an answer?


Thanks in advance,

Oliver

Oliver Zeigermann wrote:

I can reproduce the problem as well, but this is not specific to the file store. The database stores do not work with this as well. I will investigate this further...

Oliver

Daniel Florey wrote:

Hi,
I can confirm this problem. I assume that it is a problem with the file store. If you save a word document (save as...) word is locking the name of the resource it wants to create. I think the file store can not handle this kind of locks. I'll pass over this bug to Oliver so that it will be fixed soon, but he's on holiday at the moment and so it might take some time.
Regards,
Daniel


Joseph, Sajeev wrote:

I just wanted to clarify this problem: "Save As" (from MS Word etc.)
doesn't seem work ONLY when I am creating a new document in the web folder -
(meaning when I use 'Save As' to create a new document). The error I am
getting is a "Network or File permission error".


If I am editing an already existing document in the Web Folder, I can save
my changes and it works. Versioning works as well.


Any help is appreciated.

Thanks,
-Sajeev Joseph



-----Original Message-----
From:     Joseph, Sajeev  Sent:    Thursday, March 11, 2004 4:16 PM
To:    '[EMAIL PROTECTED]'
Subject:    'Save As' doesn't work


I am using the WebDAV Servlet 'out of the box', for saving files on to the
'/slide/files/' folder, from XP.
I am finding that, I can copy files from XP into the folder, as well as
drag and drop them. However, I am unable to use the 'Save As' feature
(from MS Word or Notepad) to save a document I am editing, to the folder.
It gives me an error.


Any help on this is appreciated.

Thanks,
-Sajeev Joseph











--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]


.




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


.




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to