[Cyberduck-trac] [Cyberduck] #9798: WebDAV: Use single DELETE for a directory rather than many PROPFINDs & DELETEs
Cyberduck
trac at trac.cyberduck.io
Fri Jan 6 02:29:19 UTC 2017
#9798: WebDAV: Use single DELETE for a directory rather than many PROPFINDs &
DELETEs
----------------------------+-------------------
Reporter: petrkotek | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone:
Component: webdav | Version: 5.2.2
Severity: normal | Keywords:
Architecture: | Platform:
----------------------------+-------------------
Currently, when a user deletes a directory (e.g. `/dav/directory/`) in
Cyberduck issues recursively `PROPFIND` requests to find all the files and
directories inside. Then it issues `DELETE` requests for each of them.
Some other WebDAV clients (such as command line client `cadaver` -
[http://www.webdav.org/cadaver/]) only issues a single `PROPFIND`
(probably just to verify its existence?) and then a single `DELETE
/dav/directory/` request. It's up to the server to delete everything
recursively.
I believe that this "single DELETE request" implementation is completely
valid according to WebDAV RFC4918 http://www.ietf.org/rfc/rfc4918.txt
(it's linked from http://www.webdav.org/) -- see section `9.6.1. DELETE
for Collections`.
I was wondering if you previously considered this implementation?
Thanks a lot for consideration!
> A bit of background - I'm a software engineer working for a company
which is running WebDAV server and some of our clients have often tens of
thousands (some even hundreds of thousands) of "files" (aka properties) in
"directories" (aka collections) and this would greatly improve performance
of deletions (our server supports this "server-side recursive deletion" as
per WebDAV RFC4918 mentioned above).
--
Ticket URL: <https://trac.cyberduck.io/ticket/9798>
Cyberduck <https://cyberduck.io>
Libre FTP, SFTP, WebDAV, S3 & OpenStack Swift browser for Mac and Windows
More information about the Cyberduck-trac
mailing list