Spaces files > directory access in Droplet (Apache, Ubuntu)

Spaces has folders and files I want to access on a Droplet, which is a LAMP stack on Ubuntu. Ultimately, I want to access those files from within the CMS on Droplet.

I would like to access the Spaces files from within the Apache directory /var/www/html/images. Following these two tutorials (s3fs) and some stack overflow, I got the top level of Spaces mounted, but could not access the files or subfolders.

I’m wondering if I am missing a step in Apache, or there is some other approach.



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

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.


What I could suggest is taking a look at the answer here that explains how to use s3fs and mount your Space:

In general, as suggested in the answer, Spaces are not meant to be accessed like a file system. They are API driven and most often used programmatically. Check out this tutorial to learn more about object storage and if it’s right for your use case:

Best, Bobby