-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to set metadata on S3 objects #356
Comments
This has been fixed in the latest release. |
I'm using and
? |
There is a specific option for setting content-type, so I would use this:
As for the metadata issue, there does seem to be an issue there. Looking into it now. Thanks for reporting. |
I have just tried version 1.2.13 and in this version it still does not work. |
I can confirm that this issue still exists as well in 1.2.13. If I try to upload with metadata in the shorthand form, I get this:
Or if I try the JSON form:
|
Seeing this with
|
Is there any way to do this with 'aws s3 cp'? My scenario is a bit difficult. I'd like to use 's3api put-object' but it doesn't handle multi-part for large file upload (> 1TB). As a result I need to use 's3 cp', but that doesn't appear to have a way to insert metadata. A second question -- I'd also like to insert multiple key-value pairs. Do you specify these in any particular list form using aws-cli? Great product so far -- thanks for the development effort! |
+1 for @rmatt to add the ability to insert meta data with |
@rmatt @tim-kos Given that the OP was regarding the The way I've done this in the past is to |
Setting metadata when putting a new object with the low-level
s3api
command, fails. Trying to do so using the shorthand syntax results in:and trying to use the JSON syntax gives:
The text was updated successfully, but these errors were encountered: