Zip support

Lloyd Hilaiel18 Nov 2008 11:33 PM
wouldn't it be nice if the user could select a file or folder (keep in mind many things that look like files on OSX, are actually folders -- keynote bundles), and we could compress that file into a zip bundle and return a file handle to the temporal result.

It would be interesting to offer both support for compression algorithm that was widely supported (zip?), and for something with very good compression characteristics (say, lzma).

thoughts?
lloyd
Uday19 Nov 2008 10:45 PM
That sounds like a nice idea..

It would avoid you to always create a zip and getting rid of those temp zip files after uploading. There should also be an ability to add files after the temp zip bundle has been created.
Chris Saari5 Dec 2008 10:35 AM
yes, mail attachments, etc.
-saari
Tobias8 Dec 2008 10:00 AM
And the Open Document Format is a zipped archive of xml files.

A zip support would allow to drop an odf file in the browser and read the content (odf2xhtml xslt).
Lloyd Hilaiel8 Dec 2008 3:09 PM
cool. sounds like people are supportive of this one. The thought is that we could have a basic service which will compress (but not decompress) done shortly (featuring a compatible compression format), then we can replace this with a new open source zipper that has support for decompression and a more sophisticated compression algorithm... Something that we can all hack on. My personal favorite is LZMA for it's great compression performance.

lloyd
Monsignor Klaatu8 Dec 2008 6:27 PM
QUOTE (Lloyd Hilaiel @ Dec 8 2008, 03:09 PM) <{POST_SNAPBACK}>
cool. sounds like people are supportive of this one. The thought is that we could have a basic service which will compress (but not decompress) done shortly (featuring a compatible compression format), then we can replace this with a new open source zipper that has support for decompression and a more sophisticated compression algorithm... Something that we can all hack on. My personal favorite is LZMA for it's great compression performance.

lloyd


It would be cool if you guys could add huffman and wavlet compression to the possible zip algorithms.
Tobias10 Dec 2008 6:52 AM
Is it possible to integrate this?

http://rubyzip.sourceforge.net/

Tobias
Lloyd Hilaiel2 Feb 2009 10:27 PM
The beginnings of exploration into LZMA support, for those interested:

http://github.com/lloyd/easylzma/tree/master

lloyd
Steve15 Jun 2010 11:35 AM
Support for ZIP, TAR, GZIP, BZIP2 in Archiver Service.

Support for LZMA in LZMA Service.