Forums » SEPHP Help and Tips

Storage Services - Local Storage vs S3 Uploads

    • 211 posts
    February 25, 2019 10:52 AM EST

    Hey all,

    Whats the correct way to setup Local Storage and S3 Uploads

     

    Local Storage vs S3 Uploads

    ------------------------------------

    Qtn# 1 Is it either / OR

    Should one or the other be enabled or can both be enabled?

    > If both are enabled ,

    Is a users uploaded image  stored twice - once in Local and once in S3?

     

    Qtn# 2

    > What exactly is stored and gets uploaded in S3

    >  the whole directory structure and data gets uploaded to s3?

    (everything in public_html)

    >  /application/, /externals, /public

     

    Qtn#2 If Local Storage AND S3 is enabled 

    >Where will a users uploaded image /photo etc be uploaded

     

    Trying to figure out how this works.

    Thanks

     

     


    This post was edited by playmusician at February 25, 2019 10:54 AM EST
    • 159 posts
    February 25, 2019 11:14 AM EST

    Hello 

     

    1/

    Both cannot be enabled. 

     

    <!--StartFragment -->

    2/ 

    storage contains images only

     

    /3

     

    Answered in the above screenshots. 

     

     

    So here

    • 211 posts
    February 25, 2019 11:45 AM EST

    Hi PPk, thanks :)

     

    If its one or the other

    where are all the  mp3s, videos , documents of a user stored?

     

    • 159 posts
    February 25, 2019 12:12 PM EST

    It only uploads images not the other files. 

    So mp3 videos and docs stay on your server 

    images get uploaded to S3

    • 211 posts
    February 25, 2019 12:48 PM EST

    Sorry PPK, am a little confused

    "... 1/ Both cannot be enabled. "

    I have enabled both - image below.

     

    Does Local Storage mean - only a folder with users stored files 

    If its just a folder - what is the primary folder for local storage?

    where is it stored?

    or

    Local Storage holds everything of social engine (public_html)

     

    Thanks