title: how to save file from server that has no extension?
body: <p>There is a file on server : <code>files/1</code>
  Its name and extension is stored in a database. (For example: a.jpg)
  Is it possible to download that file as <code>a.jpg</code> not as <code>1</code>? If yes, how?</p>
  
  <p>In other words:</p>
  
  <pre><code>&lt;a href='/files/1'&gt;file&lt;/a&gt;
  </code></pre>
  
  <p>should download file <code>1</code>'s content with the name <code>a.jpg</code></p>