I want to include a link to download the file in my HTML page like this
< Code> & lt; A href = "file_folder / myfile.exe" & gt; MyFile & lt; / A & gt;
But when I click on my link, I can see the binary code of my file in the browser, rather than downloading the redirect file to download it. How can I fix this without the change settings of my web-server?
You can not do the only way to change the MIME type sent to a web server. application / octet-stream
will be a good option.
Comments
Post a Comment