S3Sync.net

General Category => Questions => Topic started by: niky81 on June 02, 2008, 05:53:37 AM



Title: s3sync transparent compression
Post by: niky81 on June 02, 2008, 05:53:37 AM
Hi,
I'm trying to add transparent compression to s3sync. I've reached something, in the attachment there is a modified s3sync.rb with bzip2 compression and decompression.
It work in this way: when you upload a file to s3, s3sync bzip it and upload, when you download a file to s3, s3sync bunzip it for you automatically.

The program now lack command line options (bzip2 is allways on) and other improvments, if someone is interested I can continue developing it.

Bye


Title: Re: s3sync transparent compression
Post by: ewildgoose on June 10, 2008, 05:53:45 AM
If you use gzip then the compression will likely be a little less, but if you write the correct headers then a web browser (or wget or whatever) will be able to transparently decompress the data - this is probably quite useful..?


Title: Re: s3sync transparent compression
Post by: JacobSingh on August 09, 2008, 02:49:17 PM
I would love to see this patch.  Can you attach it here?  I don't see the attachment.