Hi all,
I want to collect a bunch of files from my filesystem, bundle them into an archive (ideally a .zip, but .tar or something would do) and send the archive to the user via send_file. Is there an easy way to do this?
Many thanks, Adam
Hi all,
I want to collect a bunch of files from my filesystem, bundle them into an archive (ideally a .zip, but .tar or something would do) and send the archive to the user via send_file. Is there an easy way to do this?
Many thanks, Adam
I used rubyzip for something like this and it worked fine: http://rubyzip.sourceforge.net/
Just what I was looking for, thanks