Do not use no_overwrite mode.
Sometimes it would prevent uploading even when the file doesn't exist in S3.
This commit is contained in:
parent
ac914e1f19
commit
e4d9dbcfa2
1 changed files with 0 additions and 1 deletions
|
@ -183,7 +183,6 @@ def s3put(bucket, access_key, secret_key, prefix, key_prefix, files):
|
||||||
'--secret_key', secret_key,
|
'--secret_key', secret_key,
|
||||||
'--prefix', prefix,
|
'--prefix', prefix,
|
||||||
'--key_prefix', key_prefix,
|
'--key_prefix', key_prefix,
|
||||||
'--no_overwrite',
|
|
||||||
'--grant', 'public-read'
|
'--grant', 'public-read'
|
||||||
] + files
|
] + files
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue