When I try to use --progress with 1.1.2 I get the following:
/usr/lib/ruby/1.8/delegate.rb:158:in `method_missing': undefined method `length' for nil:S3sync::ProgressStream (NoMethodError)
from /usr/lib/ruby/1.8/net/http.rb:1533:in `send_request_with_body'
from /usr/lib/ruby/1.8/net/http.rb:1522:in `exec'
from /usr/lib/ruby/1.8/net/http.rb:1045:in `_HTTPStremaing_request'
from ./HTTPStreaming.rb:45:in `request'
from ./S3_s3sync_mod.rb:50:in `make_request'
from ./S3.rb:152:in `put'
from ./s3try.rb:57:in `send'
from ./s3try.rb:57:in `S3try'
from ./s3sync.rb:499:in `updateFrom'
from ./s3sync.rb:370:in `main'
from ./s3sync.rb:690
Actual command line is:
./s3sync.rb --progress -v /data/share/Backups/file.gz my.bucket.prefix:
I'm on Debian running Ruby 1.8.5:
# dpkg -l | grep -i ruby
ii libopenssl-ruby 1.0.0+ruby1.8.2-1 OpenSSL interface for Ruby
ii libopenssl-ruby1.8 1.8.5-4 OpenSSL interface for Ruby 1.8
ii libruby1.8 1.8.5-4 Libraries necessary to run Ruby 1.8
ii ruby1.8 1.8.5-4 Interpreter of object-oriented scripting lan
#
Hope that helps ya out! Can't wait to try the progress feature!!