Discussion:
[S3tools-general] Add Cache-Control with out changing existing metadata?
Geo P.C.
2014-12-19 13:10:21 UTC
Permalink
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
Matt Domsch
2014-12-20 02:21:58 UTC
Permalink
did you check this out from github.com/s3tools/s3cmd master branch in the
last few days, or did you get the 1.5.0-rc1 tarball? Master branch has a
fix for this added just this week.
Post by Geo P.C.
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
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
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
S3tools-general mailing list
https://lists.sourceforge.net/lists/listinfo/s3tools-general
Geo P.C.
2014-12-20 11:58:52 UTC
Permalink
Its working perfectly fine on s3cmd with master branch.

Thanks
Geo






*Thanks & RegardsGeo P.C.http://pcgeo.blogspot.in/
<http://pcgeo.blogspot.in/>*
Post by Matt Domsch
did you check this out from github.com/s3tools/s3cmd master branch in the
last few days, or did you get the 1.5.0-rc1 tarball? Master branch has a
fix for this added just this week.
Post by Geo P.C.
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
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
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
S3tools-general mailing list
https://lists.sourceforge.net/lists/listinfo/s3tools-general
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
S3tools-general mailing list
https://lists.sourceforge.net/lists/listinfo/s3tools-general
Loading...