You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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).
The text was updated successfully, but these errors were encountered:
We do issue a single DELETE to recursively delete a folder but still issue PROPFIND requests for all child directories prior the delete.
That's unfortunately not what I observe. I just tried it with Cyberduck 5.3.3 (23221) and apart from PROPFINDs for each directory, I'm it still seeing DELETE requests for every single file & directory, e.g. like this:
Currently, when a user deletes a directory (e.g.
/dav/directory/
) in Cyberduck issues recursivelyPROPFIND
requests to find all the files and directories inside. Then it issuesDELETE
requests for each of them.Some other WebDAV clients (such as command line client
cadaver
- (http://www.webdav.org/cadaver/)) only issues a singlePROPFIND
(probably just to verify its existence?) and then a singleDELETE /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!
The text was updated successfully, but these errors were encountered: