On my web server, I have a bat (harmless) file.
And I have code,
<a href="test.bat" title="Bat">Test Bat File</a>
But when the user clicks, it shows the code instead of downloading the file.
You have to right click "save as.." to download the bat file.
Is there way that when a user clicks, it downloads (not having to right click save as)?
Maybe a pop up window that asks user if he/she wants to download the file or not?