I have a Rails app that needs to create a Zip archive of a folder and send it to the client's browser for download. I have no need for the Zip file on disk, so ideally, the Zip is created and streamed "on the fly". Is this possible? If not, I'll create a temp file and send that via xsendfile, but I'd rather avoid the extra (unnecessary) step if I could.
on 2007-05-30 00:24
on 2007-05-30 18:10
I have a similar situation. I've been looking at the rubyzip library but it apparently does not support the compression of streams nor does it do in memory zipping. It seems to only work directly with files. On May 29, 6:24 pm, Brian Ablaza <rails-mailing-l...@andreas-s.net>
on 2009-09-20 14:12
I'd be interested to know if you got anywhere with this?