I want to be able to download a web file, but when the download dialog open, the filename is renamed.
Ex: File: http:////test.txt
http:////test.txt
As InviS suggests, now there's a download attribute on links.
download
Example:
Download Your File