Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to make a link to a S3 file download rather then display

Tags:

amazon-s3

If I have a file stored on amazon S3 and I want it to download when the user clicks on it normally, how can I accomplish that?

I found some information on setting the content disposition(?) but I can't find anything actually providing instructions on how to do so.

like image 820
Will Avatar asked Sep 13 '25 02:09

Will


1 Answers

You can select file > properties > meta-data and add the content-disposition header as an option there.

enter image description here

like image 70
Mike Miller Avatar answered Sep 15 '25 10:09

Mike Miller