How do I get S3 to force download?

Modified on Mon, 22 Mar 2021 at 09:16 AM

When using S3, you may find that linking to files sends the user to view the file link, instead of forcing a download directly to their device. In order to fix this, follow these steps:

  1. Go to your S3 bucket and select the files you would like to edit.
  2. Then, click "actions" >> "Change metadata".
  3. Select a key of "Content Disposition", and a value of "Attachment".

The screenshot below shows what this metadata should look like:

You're done! Please let us know if you have any questions by contacting us at 

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select atleast one of the reasons

Feedback sent

We appreciate your effort and will try to fix the article