There is a file on server : files/1
Its name and extension is stored in a database. (For example: a.jpg)
Is it possible to download that file as a.jpg
not as 1
? If yes, how?
In other words:
<a href='/files/1'>file</a>
should download file 1
's content with the name a.jpg