Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deleting multiple files concurrently #9585

Closed
cyberduck opened this issue Jun 6, 2016 · 5 comments
Closed

Deleting multiple files concurrently #9585

cyberduck opened this issue Jun 6, 2016 · 5 comments
Assignees
Labels
enhancement fixed sftp SFTP Protocol Implementation
Milestone

Comments

@cyberduck
Copy link
Collaborator

cyberduck commented Jun 6, 2016

4aba612 created the issue

I have been deleting some large subdirectories (10,000+ files) and it takes SO LONG! Instead of the current way cyberduck deletes files, can it just send a unix delete command (rm -rf)

I figure it might work where archives can be expanded.

Thanks

@cyberduck
Copy link
Collaborator Author

cyberduck commented Jun 6, 2016

@dkocher commented

Unfortunately there is no recursive option available in the SFTP protocol.

@cyberduck
Copy link
Collaborator Author

cyberduck commented Jun 6, 2016

@dkocher commented

But we might want to implement concurrent requests executed in parallel when deleting multiple files. We currently do this for Backblaze B2.

@cyberduck
Copy link
Collaborator Author

cyberduck commented Jun 7, 2016

4aba612 commented

That would probably work really well. Deleting files is mostly a handshake, not much actual data is being sent. 5-10 concurrent deleting attempts would likely not stress an internet connection, but would make a 10hr deleting process take 1-2hrs!

@cyberduck
Copy link
Collaborator Author

cyberduck commented Jun 7, 2016

@dkocher commented

In a598435.

@cyberduck
Copy link
Collaborator Author

cyberduck commented Jun 13, 2016

@dkocher commented

Revised fix in c7da72a.

@iterate-ch iterate-ch locked as resolved and limited conversation to collaborators Nov 26, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement fixed sftp SFTP Protocol Implementation
Projects
None yet
Development

No branches or pull requests

2 participants