Using sitecopy with mediacenter.gmx.net

Christian Voelker <[email protected]>
Newsgroups gmane.comp.web.sitecopy
Message-ID <[email protected]>
Hello Joe Orton,

thank you for creating sitecopy. This tool is very
useful for me. Im not a programmer, but an admin and
as such a user from your perspective.

Id like to use sitecopy for personal backup on
mediacenter.gmx.net. Unhappily, this does not work
like it does with my own DAV-enabled server. GMX is
the culprit  I guess and so you might wonder why I
contact you.

If GMX does not support DAV properly it is their
business. On the other hand, they are the largest
and cheapest (id est free, aside fromregistering)
provider of DAV services on the web.

It is hard for me as a single user to convince them
to fix their stuff. On the other hand, their service
allows numerous users to get in contact with this
superior technology. So I ask you to take a look,
whether you could work around their limitations in
sitecopy.

The problem arises already before authentication,
so you dont need to register with them to check
my findings. If you try to access /, the server
behaves as expected. Accessing /somedirectory in
the OPTIONS Method brings up a error message with
poor syntax that does not comply with RFC 2518.
They expect properties to be requested in XML
syntax only but dont confirm their support for
DAV in the response header as required.

I suggest that you add a switch to .sitecopyrc,
similar to "tempupload" named something like
"connect_to_root". This should change the behaviour
of sitecopy to send OPTIONS / HTTP/1.1 first,
authenticating as usual, then cd to the directory
as indicated in the remote setting, using XML syntax.

Thank you for considering,

Christian Voelker


PS: Here is a short overview of how mediacenter.gmx.net
treats requests:


[G4:~] cvoelker% sitecopy --debug=http -f floh
(...)
Sending request headers:
OPTIONS / HTTP/1.1
Host: mediacenter.gmx.net
User-Agent: sitecopy/0.13.4 neon/0.24.0
Keep-Alive:
Connection: TE, Keep-Alive
TE: trailers

Sending request-line and headers:
Connecting to 213.165.64.3
Request sent; retry is 0
[status-line] < HTTP/1.0 401 Unauthorized
[hdr] Date: Mon Feb 28 13:23:59 2005
Header Name: [date], Value: [Mon Feb 28 13:23:59 2005]
[hdr] Server: GMX-DAV-Proxy
Header Name: [server], Value: [GMX-DAV-Proxy]
[hdr] Content-Length: 8543
Header Name: [content-length], Value: [8543]
[hdr] WWW-Authenticate: Basic realm="GMX MediaCenter"
Header Name: [www-authenticate], Value: [Basic realm="GMX MediaCenter"]
(...)


[G4:~] cvoelker% sitecopy --debug=http -f floh
(...)
Sending request headers:
OPTIONS /Meine Dokumente/floh/ HTTP/1.1
Host: mediacenter.gmx.net
User-Agent: sitecopy/0.13.4 neon/0.24.0
Keep-Alive:
Connection: TE, Keep-Alive
TE: trailers

Sending request-line and headers:
Connecting to 213.165.64.3
Request sent; retry is 0
[status-line] < <html><body>HTTP Version not supported</body></html>
Aborted request (0): Could not parse response status line.
(...)

_______________________________________________
sitecopy maillist  -  [email protected]
http://dav.lyra.org/mailman/listinfo/sitecopy
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.