I have a web page on a web hosting and images are stored on Amazon S3. I want with php be able to download multiple images from Amazon S3 through my web page in a zip file.
What are my options and what is the best?
What I know, it is not possible to compress files on S3. Can I use Amazon lambda?
Best solution I've come across.
- The user selects on my website which images they want to downloaded.
I get the file name from my database on my web host and download the images from S3 to a temporary directory on my web host.
A zip file is created in a temporary directory and a link is sent to the user. After a certain time, I clear up the temporary directory (with a script) on my web host.
But it would be great if there are a way that did not go through my hosting to create and download the zip-file.
Aucun commentaire:
Enregistrer un commentaire