# Any options besides Zlib::GzipReader?

**URL:** <https://www.ruby-forum.com/t/any-options-besides-zlib-gzipreader/109089>\
**Category:** Rails\
**Created:** [July 11, 2007, 2:22pm UTC](https://www.ruby-forum.com/t/any-options-besides-zlib-gzipreader/109089 "2007-07-11T14:22:19Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![simon1](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/fbc32d/32.png) [@simon1](https://www.ruby-forum.com/u/simon1)\
**Post date:** [July 11, 2007, 2:22pm UTC](https://www.ruby-forum.com/t/any-options-besides-zlib-gzipreader/109089/1 "2007-07-11T14:22:19Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![simon1](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/fbc32d/32.png) [@simon1](https://www.ruby-forum.com/u/simon1)\
**Post date:** [July 11, 2007, 3:09pm UTC](https://www.ruby-forum.com/t/any-options-besides-zlib-gzipreader/109089/2 "2007-07-11T15:09:43Z")

</div>

On Wed, 2007-07-11 at 12:21 +0000, Simon wrote:

> 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/](http://rubyforge.org/projects/rubyzip/)

---

<div class="post-metadata">

**Author:** ![simon1](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/fbc32d/32.png) [@simon1](https://www.ruby-forum.com/u/simon1)\
**Post date:** [July 11, 2007, 3:19pm UTC](https://www.ruby-forum.com/t/any-options-besides-zlib-gzipreader/109089/3 "2007-07-11T15:19:45Z")

</div>

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

Simon

---

<div class="post-metadata">

**Author:** ![simon1](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/fbc32d/32.png) [@simon1](https://www.ruby-forum.com/u/simon1)\
**Post date:** [July 11, 2007, 4:15pm UTC](https://www.ruby-forum.com/t/any-options-besides-zlib-gzipreader/109089/4 "2007-07-11T16:15:59Z")

</div>

On Jul 11, 5:21 am, Simon [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Simon  
> Here’s a short list:  
> [http://www.usinglinux.org/archivers/](http://www.usinglinux.org/archivers/)

---

<div class="post-metadata">

**Author:** ![simon1](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/fbc32d/32.png) [@simon1](https://www.ruby-forum.com/u/simon1)\
**Post date:** [July 11, 2007, 4:55pm UTC](https://www.ruby-forum.com/t/any-options-besides-zlib-gzipreader/109089/5 "2007-07-11T16:55:10Z")

</div>

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.

On 11 Jul 2007, at 15:19, Simon wrote:

> > > 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/](http://rubyforge.org/projects/rubyzip/)

Best regards

Peter De Berdt
