title: Amazon S3 Change file download name
body: <p>I have files stored on S3 with a GUID as the key name.</p>
  <p>I am using a pre signed URL to download as per <a href="http://docs.amazonwebservices.com/AmazonS3/latest/dev/index.html?RESTAuthentication.html#RESTAuthenticationQueryStringAuth" rel="noreferrer">S3 REST API</a></p>
  <p>I store the original file name in my own Database.  When a user clicks to download a file from my web application <strong>I want to return their original file name, but currently all they get is a GUID</strong>. How can I achieve this?</p>
  <p>My web app is in salesforce so I do not have much control to do response.redirects all download the file to the web server then rename it due to governor limitations.</p>
  <p>Is there some HTML redirect, meta refresh, Javascript I can use?  Is there some way to change the download file name for S3 (the only thing I can think of is coping the object to a new name, downloading it, then deleting it).</p>
  <p>I want to avoid creating a bucket per user as we will have a lot of users and still no guarantee each file with in each bucket will have a unique name</p>
  <p>Any other solutions?</p>