any options besides Zlib::GzipReader?

Hi,

My application currently has files being sent to it fairly regularly, and I'd like these files to be sent in a compressed format. Besides the handling of gzip formatted compressed files (.gz) through the ZLib::GzipFile class are there any other options? Any common compression type would be fine (i.e., .tar, .zip).

Thanks,

Simon

Hi,

My application currently has files being sent to it fairly regularly, and I'd like these files to be sent in a compressed format. Besides the handling of gzip formatted compressed files (.gz) through the ZLib::GzipFile class are there any other options? Any common compression type would be fine (i.e., .tar, .zip).

There's also ruby-zip: http://rubyforge.org/projects/rubyzip/

Thanks. Is one generally considered to be more stable, or a better option for other reasons?

Simon

Here's a short list:

I wasn’t too happy with any of the solutions available and resorted to just using command line invokes from my rails app. Works perfectly and if you’re a bit linux-savvy, it’s a breeze to implement.