S3Sync.net
February 02, 2014, 01:30:01 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: s3sync transparent compression  (Read 3183 times)
niky81
Newbie
*
Posts: 1


View Profile
« 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
Logged
ewildgoose
Newbie
*
Posts: 1


View Profile
« Reply #1 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..?
Logged
JacobSingh
Newbie
*
Posts: 1


View Profile
« Reply #2 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.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!