I tried to follow a couple of tutorials, but so far I got nowhere. I set-up an additional space, where overnight I transfer the images to that space. So when I want to delete a file on that space, I need to be able to connect to it and give via PHP a commando that I delete that file or multiple files. Can someone pinpoint me to a (simple) example how I can connect to the space and make some modifications (get a list of all the files, delete a file, …).

Kind regards,

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.

×
Submit an Answer
1 answer

Hello, @gschnieders

I believe that a similar question was asked before in our community. You can check the question here:

https://www.digitalocean.com/community/questions/whats-the-best-way-to-use-digital-ocean-spaces-upload-api-with-a-php-project

Hope that this helps!
Regards,
Alex