2587a83389 The download attribute is one of those enhancements that isn't incredibly sexy but is a practical and easy to add. Any other ideas or am I doing something wrong? Reply ↓ Marcel Permalink to comment# August 12, 2014 Could always try PHP (if you havnt found a solution yet, hopefully you have) Kubulai Permalink to comment# August 15, 2014 I had to stick the .htaccess file in the actual folder in which the files to be downloaded are stored. User clicks on button, and the download attribute downloads virus.exe with the proper name onto the users PC. Note your first demo has an error& it says it will download as important.txt but the download attribute is set to important so it works, but the extension isnt actually specified (and should the browser not be able to properly detect the mimetype)& you may serve up a file the user cant figure out how to use. How to fix this last issue? Force to Chrome show save as& dialog box& Greetings from Peru Pavel Reply ↓ The Mighty Permalink to comment# December 31, 2011 Pavel I did as your posted, Opera & Firefox did good but my IE still open the PDF as page not donwload it.