If the mistake is something like:
Interrupted
or
Failed
or
network failure
There’s no way to fix it in HTML, use attribute download
HTML5 will not make it work, .exe
usually already lowers directly, this attribute has nothing to do with the problem.
It is likely to be some configuration on your server, there is no way to analyze, only with a tool like Wireshark or maybe analyzing Apache settings.
But it’s more likely to be something on your computer, like an antivirus that blocks, the extension .exe
, use antivirus on the company’s computer, it always blocks the .exe
.
I went through a similar situation, created a patch for employees to be able to install the software update themselves, they downloaded .exe
, however it did not work, I went to check and it was the same error (probably) as your
So to be sure try to disable:
- Antivirus
- windowsdefender
And try to download again, probably will work, however this is not a good way and not a solution, after all are not all computers you will be able to do this at the time of download.
The ideal would be to change the extension to something like .zip
, this made the download no longer interrupted.
remoto.exe
is a file on another server? or the same path as your html?– Renan Gomes
@Renan Is in the same Path
– R.Santos
Okay, and what’s the mistake?
– Renan Gomes