Error when I tried to delete folder on space

Error below when I tried to delete folder on space:

“Sorry, your directory could not be deleted.”

Show comments

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Site Moderator
Site Moderator badge
March 22, 2020
Accepted Answer

Hello, @danilodene

You can easily delete folders using s3cmd from your PC. s3cmd is a popular cross-platform command-line tool for managing S3 and S3-compatible object stores.

You can check our tutorial for configuring s3cmd:

Once s3cmd is configured you can use the following command to delete a folder:

s3cmd del s3://BUCKET/OBJECT


s3cmd del -r s3://sammy-test/TestFolder

If this is successfull the output should be:

delete: 's3://sammy-test/TestFolder/'

Hope this helps!

Regards, Alex

Same issue here, is this going to be fixed because I can not delete my folders.

I also have filezilla pro connected to my space, this also fails to delete folders.

I also tried s3 for windows to find it is only a trial version so removed it immediately.

Can we have a better long term solution or maybe you can just fix the issue please before we exceed the 250gb and incur additional charges for storing data we are unable to remove.

Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up

Featured on Community

Get our biweekly newsletter

Sign up for Infrastructure as a Newsletter.

Hollie's Hub for Good

Working on improving health and education, reducing inequality, and spurring economic growth? We'd like to help.

Become a contributor

Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.

Welcome to the developer cloud

DigitalOcean makes it simple to launch in the cloud and scale up as you grow — whether you're running one virtual machine or ten thousand.

Learn more
DigitalOcean Cloud Control Panel