Possible Duplicate:
How to create zip file only in memory in ruby?
Is anybody aware of a open source Ruby library that allows the user to process zip file entries in memory? i.e. without writing them to disk
Possible Duplicate:
How to create zip file only in memory in ruby?
Is anybody aware of a open source Ruby library that allows the user to process zip file entries in memory? i.e. without writing them to disk
Hi I'm using rubyzip library. You can do something like this:
Zip::ZipFile.foreach(file) do |entry|
istream = entry.get_input_stream
data = istream.read
#...
end