Skip to content

Commit

Permalink
Temporarily disabled MultiPart for 's3cmd sync'
Browse files Browse the repository at this point in the history
sync depends on ETag == MD5 sum of the remote object
in the bucket listings. Unfortunately for multipart
uploaded objects this is not true. We need to come up
with some other way to store the MD5 sum for sync to
work.
  • Loading branch information
mludvig committed Jan 5, 2012
1 parent 82114c5 commit d057748
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions s3cmd
Original file line number Diff line number Diff line change
Expand Up @@ -837,6 +837,10 @@ def cmd_sync_local2remote(args):

s3 = S3(cfg)

## FIXME
cfg.multipart_enabled = False
warning(u"MultiPart: disabled for 'sync' command. Don't panic, we'll fix it!")

if cfg.encrypt:
error(u"S3cmd 'sync' doesn't yet support GPG encryption, sorry.")
error(u"Either use unconditional 's3cmd put --recursive'")
Expand Down

0 comments on commit d057748

Please sign in to comment.