# How to force download with Amazon S3

**URL:** <https://www.ruby-forum.com/t/how-to-force-download-with-amazon-s3/140362>\
**Category:** Rails\
**Created:** [June 13, 2008, 8:34am UTC](https://www.ruby-forum.com/t/how-to-force-download-with-amazon-s3/140362 "2008-06-13T08:34:15Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jimmypalmer](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/bbe5ce/32.png) [@jimmypalmer](https://www.ruby-forum.com/u/jimmypalmer)\
**Post date:** [June 13, 2008, 8:34am UTC](https://www.ruby-forum.com/t/how-to-force-download-with-amazon-s3/140362/1 "2008-06-13T08:34:15Z")

</div>

I’m using amazon s3 to offer users large file downloads to save on  
bandwidth. I’ve found the file with the s3 object and can send the url  
to access the file, but I want to force the download instead of pulling  
it up in the browser. These are large video files (.mov). Is there a  
better way to do this?

I know that in a normal situation you would set the response.headers,  
but I’m not sure how to do this with a file that is already on the  
storage service.
