Discussion:
WebDAV issues with 4.4.14 against Apache/mod_dav
Steve Caturan
2014-01-14 04:21:00 UTC
Permalink
hi all,

I recently installed lftp 4.4.14 on one of my FreeBSD 9.x boxes hoping
to test drive it's WebDAV capabilities:

$ lftp -version
...
Libraries used: Readline 5.2, Expat 2.0.1, OpenSSL 1.0.1e 11 Feb 2013,
libiconv 1.14, zlib 1.2.7

Encountered issues:

$ lftp -u webdav,webdav https://dav.pixi.me/
cd ok, cwd=/

lftp ***@dav.pixi.me:/> ls -al
drwxr-xr-x - 2014-01-13 17:45:31 .

lftp ***@dav.pixi.me:/> mkdir dodo
mkdir ok, `dodo' created

lftp ***@dav.pixi.me:/> ls
drwxr-xr-x - 2014-01-13 23:15:08 .
drwxr-xr-x - 2014-01-13 23:15:08 dodo

lftp ***@dav.pixi.me:/> rmdir dodo
rmdir: File moved: 301 Moved Permanently (dodo -> https://dav.pixi.me/dodo/)

- so it seems from the notes above, using an Apache/mod_dav target,
sending a "DELETE /path/to/directory" renders a 301 server response,
instead of a 204 - I think it's an issue with a missing / at the end
of the folder/directory name (other
client's I've tested send a "DELETE /path/to/directory/" request.

If anyone has time to reproduce my issues, I have 4 server targets ready
for your testing at https://www.pixi.me/webdav.php#matrix

Thank you and best regards,

Steve Caturan
Alexander V. Lukyanov
2014-01-14 07:36:16 UTC
Permalink
Post by Steve Caturan
rmdir: File moved: 301 Moved Permanently (dodo -> https://dav.pixi.me/dodo/)
This patch should fix the problem.

--
Alexander.
Steve Caturan
2014-01-14 12:53:13 UTC
Permalink
hi Alexander,

yep, the patch now renders a 204 after a DELETE /folder/ request - thank you!

Best regards,
---
Steve Caturan
https://pixi.me/about.php
-
Ephesians 2:8-9 (KJV)- "For by grace are ye saved through faith; and
that not of yourselves: it is the gift of God: Not of works, lest any
man should boast."
Post by Alexander V. Lukyanov
Post by Steve Caturan
rmdir: File moved: 301 Moved Permanently (dodo -> https://dav.pixi.me/dodo/)
This patch should fix the problem.
--
Alexander.
Loading...