Re: Gnome-VFS and self implemented WebDAV



Hi,

> T 192.168.32.130:80 -> 192.168.32.26:33792 [AP]
>   <?xml version="1.0" encoding="UTF-8"?>.<D:multistatus xmlns:D="DAV:">.<D:re
>   sponse>.<D:href>/servlet/webdav.documents/</D:href>.<D:propstat>.<D:prop>.<
>   D:getcontenttype>httpd/unix-directory</D:getcontenttype>.<D:resourcetype>.<
>   D:collection />.</D:resourcetype>.<D:creationdate xmlns:b="urn:uuid:c2f4101
>   0-65b3-11d1-a29f-00aa00c14882/" b:dt="dateTime.tz">1970-01-01T00:00:00Z</D:
>   creationdate>.<D:getlastmodified xmlns:b="urn:uuid:c2f41010-65b3-11d1-a29f-
>   00aa00c14882/" b:dt="dateTime.rfc1123">Thu, 01 Jan 1970 00:00:00 GMT</D:get
>   lastmodified>.</D:prop>.<D:status>HTTP/1.1 200 OK</D:status>.</D:propstat>.
>   <D:propstat>.<D:prop>.<D:getcontentlength />.<ns1000:nautilus-treat-as-dire
>   ctory xmlns:ns1000="http://services.eazel.com/namespaces"; />.</D:prop>.<D:s
>   tatus>HTTP/1.1 404 Not Found</D:status>.</D:propstat>.</D:response>.</D:mul
>   tistatus>..
> 

In your mail I see dots between each XML tag. Are they present in the
xml sent by your dav server? Or do they correspond to some other char
(like carriage return)? If so, that's quite likely the reason why this
doesn't work in Nautilus, see
http://bugzilla.gnome.org/show_bug.cgi?id=118773
If possible, you should try to use latest version of gnome-vfs 2.3 with
this patch applied.

Other possibilities to help see what is wrong is to enable the trace for
the http method in http-method.h, and to try first with the tools which
come in the 'programs' directory with gnome-vfs 2.3. If you can't use
gnome-vfs 2.3,  you can give it a try with some of gnome-vfs tests
(there are some to list a directory content and stuff like that iirc).
Finally, you can also see the traces returned by Nautilus by removing
nautilus from the session using gnome-session-properties, and then
running it from a terminal.

If that doesn't help, I'd be interested in having a test account on your
webdav server if possible at all.

Hope that helps,

Christophe




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]