HOW storage works

Hi @ben1 , @Colin , @James_App_Maker ,
Today was testing storing Media in AWS S3 to support one of the users, but after some deep dive I have some questions:

When using file picker, if I remove the file URL from my collection, when will the file/Media be deleted?

E.g. https://proton-uploads-production.s3.amazonaws.com/07cee57734f546ce5c02074eaa10efbe0019ea743a586f21c3c0598c14d90a39.JPG?orient

I have added this picture around 10 minutes ago from the collection, and I can still acess the image. So assuming Adalo has a buffer to “clean” the DB.

When using Image upload, I then update the Image URL (Via API) by swapping with a 1x1 pixel image in order to remove the regular image I uploaded previously and save space in Adalo DB. But same happens as the file picker, I can still access the image after.

If I try to update Adalo’s images via PUT request with empty field, I get an Error 500, so I always need to send an image placeholder for API request to work.

So in which moment does the DB gets updated and removes images? Thank you very much.

Hi,
Would be a great an answer for this @ben1 , @Colin , @James_App_Maker.
I still see the images in the DB on your side, so if you don’t remove this from the user Account, it just makes using AWS S3/ImageKit IO/Imgix useless as we will always be using Adalo’s storage anyway.

So an answer to the community would be great. Thank you very much.

No answer up to now? important questions must have “fast answers”, i am not saying solutions, because this sometimes takes/need time but answers is “great” to think about, check other possibilites and or workarounds. :slight_smile: @Colin can you help ? @karimoo I saw that you did some researches about cloudinary, in these did you found out or had any conclusion ?

Thanks for pushing this up.
I actualy found a solution for this but it is complicated to explain :smiley: , it is possible with Integromat also and developed my own, I will market it soon, if you want to test it let me know, I still need some testers.