I have amazon S3 link like,
http://mytest.s3.amazonaws.com/audio/3/1431428586_z3PtL.mp3
I want to downaload this mp3 file. I tried a lot, but failed!
So Please help!
In order force download a file in an S3 bucket, you will need to set a Request Header. The specific request header to set is Content-Disposition: attachment .
You can set the header when you upload the file via the AWS REST API. As described in the AWS Documentation .
Or, you can set it manually in the file properties metadata in the AWS Console view example .
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.