Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Streaming a dynamic zip from Amazon S3

I am looking for a way to dynamically stream download a zip of files from Amazon S3.

The application is hosted on EC2 and the files are stored on S3.

Need to give users the ability to select from a group of files which will then get bundled up and downloaded to them.

Have heard about a few Actionscript libraries (aszip and fzip) that might be possible, or could do this in Ruby, or even possibly PHP.

The files do not need any compression, zip is just being used to bundle the files up into one single download....

like image 691
Gordon Isnor Avatar asked Jul 27 '09 13:07

Gordon Isnor


1 Answers

I use Nginx Zip Module to stream local files, but there is option to stream from remote locations. Otherwise you could use it with VFS mounted S3 storage as local filesystem. It supports seek - resumable and accelerated downloads

like image 121
gertas Avatar answered Sep 20 '22 00:09

gertas