ich hoffe ich bin hier richtig. Ich benutze die Module mod_dav und mod_dav_fs und habe folgendes eigenartiges Verhalten festgestellt:
Ein umbenennen von Dateien (MOVE) ist nicht möglich wenn der neue Dateiname ein Teil des alten Dateinamens ist. Allerdings spielen hierbei Punkte wohl als Trennzeichen eine Rolle.
Hier ein Beispiel:
hallo.welt.foo.baa.txt kann NICHT in folgendes umbenannt werden
- hallo.welt.foo.baa
hallo.welt.foo
hallo.welt
hallo
- hallo.welt.foo.baa.t
hallo.welt.foo.ba
hallo.welt.foo.b
hallo.
blubb
Hier habe ich auch mal den Auszug von cadaver dazu:
- Code: Select all
dav:/webdav/Partner/Xxxxxxxxxxxx, Xxxxxx/? ls
Listing collection `/webdav/Partner/Xxxxxxxxxxxx%2c%20Xxxxxx/': succeeded.
hallo.welt.foo.baa.txt 13 Nov 20 16:07
dav:/webdav/Partner/Xxxxxxxxxxxx, Xxxxxx/? mv hallo.welt.foo.baa.txt hallo.welt.foo.baa
Moving `/webdav/Partner/Xxxxxxxxxxxx%2c%20Xxxxxx/hallo.welt.foo.baa.txt' to `/webdav/Partner/Xxxxxxxxxxxx%2c%20Xxxxxx/hallo.welt.foo.baa': failed:
403 Forbidden
dav:/webdav/Partner/Xxxxxxxxxxxx, Xxxxxx/? mv hallo.welt.foo.baa.txt hallo.welt.foo
Moving `/webdav/Partner/Xxxxxxxxxxxx%2c%20Xxxxxx/hallo.welt.foo.baa.txt' to `/webdav/Partner/Xxxxxxxxxxxx%2c%20Xxxxxx/hallo.welt.foo': failed:
404 Not Found
dav:/webdav/Partner/Xxxxxxxxxxxx, Xxxxxx/? mv hallo.welt.foo.baa.txt hallo.welt
Moving `/webdav/Partner/Xxxxxxxxxxxx%2c%20Xxxxxx/hallo.welt.foo.baa.txt' to `/webdav/Partner/Xxxxxxxxxxxx%2c%20Xxxxxx/hallo.welt': failed:
404 Not Found
dav:/webdav/Partner/Xxxxxxxxxxxx, Xxxxxx/? mv hallo.welt.foo.baa.txt hallo
Moving `/webdav/Partner/Xxxxxxxxxxxx%2c%20Xxxxxx/hallo.welt.foo.baa.txt' to `/webdav/Partner/Xxxxxxxxxxxx%2c%20Xxxxxx/hallo': failed:
404 Not Found
dav:/webdav/Partner/Xxxxxxxxxxxx, Xxxxxx/? mv hallo.welt.foo.baa.txt hallo.welt.f
Moving `/webdav/Partner/Xxxxxxxxxxxx%2c%20Xxxxxx/hallo.welt.foo.baa.txt' to `/webdav/Partner/Xxxxxxxxxxxx%2c%20Xxxxxx/hallo.welt.f': succeeded.
Wenn ich hallo.welt.foo.baa.txt in hallo.welt.foo ist dies indirekt auch möglich (nur nicht direkt). Rechte etc. sollten also in Ordnung sein:
- Code: Select all
dav:/webdav/Partner/Xxxxxxxxxxxx, Xxxxxx/? mv hallo.welt.foo.baa.txt blubb
Moving `/webdav/Partner/Xxxxxxxxxxxx%2c%20Xxxxxx/hallo.welt.foo.baa.txt' to `/webdav/Partner/Xxxxxxxxxxxx%2c%20Xxxxxx/blubb': succeeded.
dav:/webdav/Partner/Xxxxxxxxxxxx, Xxxxxx/? mv blubb hallo.welt.foo.baa
Moving `/webdav/Partner/Xxxxxxxxxxxx%2c%20Xxxxxx/blubb' to `/webdav/Partner/Xxxxxxxxxxxx%2c%20Xxxxxx/hallo.welt.foo.baa': succeeded.
In die andere Richtung ist es übrigens möglich:
[code]
dav:/webdav/Partner/Xxxxxxxxxxxx, Xxxxxx/? mv hallo.welt.foo.baa hallo.welt.foo.baa.txt
Moving `/webdav/Partner/Xxxxxxxxxxxx%2c%20Xxxxxx/hallo.welt.foo.baa' to `/webdav/Partner/Xxxxxxxxxxxx%2c%20Xxxxxx/hallo.welt.foo.baa.txt': succeeded.
dav:/webdav/Partner/Xxxxxxxxxxxx, Xxxxxx/? mv hallo.welt.foo.baa.txt hallo.welt.foo.baa
Moving `/webdav/Partner/Xxxxxxxxxxxx%2c%20Xxxxxx/hallo.welt.foo.baa.txt' to `/webdav/Partner/Xxxxxxxxxxxx%2c%20Xxxxxx/hallo.welt.foo.baa': failed:
403 Forbidden
[code]
Hat jemand eine Idee dazu? Ich kann auch gerne noch weitere Tests durchführen.
Das Problem führt u.a. dazu dass man keine Downloads direkt auf den WebDAV-Server laden kann, da alle gängigen Browser die Downloads anders benennen. Aus MeineDatei.zip wird vorübergehend MeineDatei.zip.partial welche sich dann nicht mehr in das Original umbenennen lässt.
Viele Grüße
Stefan