Connecting to WebDAV Server on localhost?

The Cyberduck forums have moved to Google Groups, this forum is read only.
mitzy
Harmless
Posts: 1
Joined: Wed Mar 03, 2010 3:40 pm

Connecting to WebDAV Server on localhost?

Postby mitzy » Wed Mar 03, 2010 3:44 pm

Hi,
I'm writing a Java Servlet that is supposed to handle WebDAV Requests. The Server is a Tomcat 5.5 on localhost:8080.
Whenever I try to connect to http://localhost:8080/folder/folder, I keep getting an

Code: Select all

Listing directory failed.
Error.

The Log says:

Code: Select all

PROPFIND /test2/server HTTP/1.1[\r][\n]
Authorization: Basic bWl0enk6bnVsbA==[\r][\n]
Content-Type: text/xml; charset=utf-8[\r][\n]
User-Agent: Cyberduck/3.4.1 (5780) (Mac OS X/10.5.8) (i386)[\r][\n]
Host: localhost:8080[\r][\n]
Content-Length: 207[\r][\n]
Depth: 0[\r][\n]
[\r][\n]
HTTP/1.1 207 Multi-Status[\r][\n]
HTTP/1.1 207 Multi-Status[\r][\n]
Server: Apache-Coyote/1.1[\r][\n]
Content-Type: text/xml;charset=utf-8[\r][\n]
Content-Length: 247[\r][\n]
Date: Wed, 03 Mar 2010 15:31:45 GMT[\r][\n]
[\r][\n]


The HTTP Answer I'm sending out is

Code: Select all

<?xml version="1.0" encoding="UTF-8"?>
<D:multistatus>
<D:response>
<D:href>test</D:href>
<D:propstat>
<D:prop>
<D:displayname>displayname</D:displayname>
</D:prop>
<D:status>HTTP/1.1 200 OK</D:status>
</D:propstat>
</D:response>
</D:multistatus>


Does anybody know what I'm doing wrong here? Any help would be appreciated!

Return to “Cyberduck”

Who is online

Users browsing this forum: Baidu [Spider], Yahoo [Bot]