Has someone devised a way to create a ZIP archive purely in memory? I
know of rubyzip, but apparently it can only create an archive as a
file. That’s not too bad, but if I can I’d prefer to do this in memory.
If you want to work around it, you can mount a ramdisk and zip to a
file in that… or perhaps look at FuseFS
(http://rubyforge.org/projects/fusefs/) if you want to roll your
own…
Alternatively you could just use ZLib, but I assume you want zip for a
reason…
Has someone devised a way to create a ZIP archive purely in memory? I
know of rubyzip, but apparently it can only create an archive as a
file. That’s not too bad, but if I can I’d prefer to do this in
memory.
Out of curiosity, why?
I guess he’s dynamically generating a zipfile for his users to download.
e.g. download all posts from the past month.
jeremy
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (Darwin)