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...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org>
wrote:> 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.
>
> --
> Posted viahttp://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---