Permalink
Commits on Jan 2, 2012
  1. Renamed multipart_chunk_size to multipart_chunk_size_mb

    mludvig committed Jan 2, 2012
    Simplifies handling, avoids confusion.
  2. Cleanup: pass enable_multipart via Config()

    mludvig committed Jan 2, 2012
    Remove all the newly introduced parameters for passing enable_multipart
    and keep it in Config() instead.
    
    Also renames --enable-multipart to --disable-multipart and
    introduces --multipart-chunk-size=SIZE parameter.
  3. Support for non-threaded multipart upload

    mludvig committed Jan 2, 2012
    Don't create thread-pool with Config().multipart_num_threads=1.
  4. Added VIM default settings to Config.py, MultiPart.py

    mludvig committed Jan 2, 2012
    vim:et:ts=4:sts=4:ai
Commits on Dec 30, 2011
  1. Merge branch 'master' into adys-multipart

    mludvig committed Dec 30, 2011
    Includes conversion from TAB to 4-SPACE indentation!
  2. Allow optional parameters in --mime-type

    mludvig committed Dec 30, 2011
    For example to upload UTF-8 encoded html file use:
    	--mime-type="text/html; charset=utf-8"
Commits on Nov 21, 2011
  1. Merge pull request #14 from ksperling/master

    mludvig committed Nov 21, 2011
    Guess MIME types using python-magic
Commits on Oct 18, 2011
  1. Ignore CF distros with CustomOrigin in [sync --cf-inval]

    mludvig committed Oct 18, 2011
    Bug reported by Nicholas Cynober where his s3cmd sync --cf-inval
    kept crashing on parsing a CloudFront distribution list with both
    S3Origin and CustomOrigin distributions.
    
    Let's skip over non-S3Origin distros when translating S3Uri to CFUri.
Commits on Oct 12, 2011
Commits on Sep 22, 2011
  1. * Force MIME type with --mime-type=abc/xyz

    mludvig committed Sep 22, 2011
    Option --mime-type now has a different meaning - from now on
    it forces setting the given MIME type instead of setting a default
    MIME type. For changing the default from binary/octet-stream use
    a new option --default-mime-type.
    Also --guess-mime-type is no longer on by default and if set to true
    in the config file can be turned back off with --no-guess-mime-type
Commits on Sep 16, 2011
  1. --configure now supports per-bucket checks

    mdrcode committed Sep 16, 2011
    Previously, --configure would perform an access check by trying to list
    all buckets for the account. This requires the S3 ListAllMyBuckets
    permission which is typically not available to delegated IAM accounts.
    With this change, --configure now accepts an (optional) bucket uri as a
    parameter and if it's provided, the access check will just verify
    access to this bucket individually.
    
    i.e.
    
    s3cmd --configure  # Access Denied if the account lacks ListAllMyBuckets
    
    But
    
    s3cmd --configure s3://some-bucket # Still work
Commits on Aug 14, 2011
Commits on Jul 9, 2011
  1. Allow stdout as destination when receiving multiple remote files

    ohhorob committed Jul 9, 2011
    - special case stdout when enforcing destination rules
    - update parameter error output to indicate stdout is a valid destination specification
Commits on Jun 10, 2011
  1. Improved compatibility with Python 2.4

    mludvig committed Jun 10, 2011
    python-hashlib backported to Python 2.4 is not compatible with 'hmac'
    module (at least the package distributed with RHEL/CentOS 5 is not).
    
    Use md5 and sha modules on 2.4 regardless if hashlib is present.
Commits on Jun 7, 2011
  1. ATTENTION -- Mega WhiteSpace conversion !!!

    mludvig committed Jun 7, 2011
    Historically s3cmd and modules used to use <tab> for indentation.
    This is not a recommended Python coding standard and many tools
    treat it as an error.
    
    This mega patch converts all <tab>s to <4-space>s and also removes
    trailing white whitespace along the way.
    
    To get meaningful diffs across this commit use: git diff -w
  2. Properly pass multipart enabling, default enabled on > 100MB

    Jerome Leclanche authored and mludvig committed May 31, 2011
  3. Add multipart_num_threads and multipart_chunk_size to Config

    Jerome Leclanche authored and mludvig committed May 31, 2011
  4. Add the --enable-multipart option to s3cmd

    Jerome Leclanche authored and mludvig committed May 31, 2011
  5. Dynamically increase the chunk size depending on the file size

    Jerome Leclanche authored and mludvig committed May 31, 2011