Geo P.C.
2014-12-19 13:10:21 UTC
Dear Support
We are using latest version of s3cmd 1.5.0-rc1 and we uploaded around 60Gb
of mp3 and HTML files to Amazon s3 bucket.
Now we need to add cache control to these files and given the command as
follows:
s3cmd modify --recursive --acl-public
--add-header="Cache-Control:max-age=2592000" s3://geo-site/webroot/
But now the files (mp3 and HTML) are not working and when we checked the
metadata of files Content-Type changed to binary_octet-stream
So please let us know with out changing existing metadata how we can add
Cache-Control? Please help us on it.
Thanks
Geo
91 9495250348
We are using latest version of s3cmd 1.5.0-rc1 and we uploaded around 60Gb
of mp3 and HTML files to Amazon s3 bucket.
Now we need to add cache control to these files and given the command as
follows:
s3cmd modify --recursive --acl-public
--add-header="Cache-Control:max-age=2592000" s3://geo-site/webroot/
But now the files (mp3 and HTML) are not working and when we checked the
metadata of files Content-Type changed to binary_octet-stream
So please let us know with out changing existing metadata how we can add
Cache-Control? Please help us on it.
Thanks
Geo
91 9495250348