Question
Connecting via PHP to your DigitalOcean space
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.
×