Question
File Extension for Download
Hi,
I have an EXE file on my webserver which I would like people to be able to download. I have some error checking and basically, if they are eligable to download the software, there is an IF statement that basically has a CFLOCATION to navigate to the EXE file. The user is then presented with a download dialog and they can save the file, etc.
However, many users have reported problems with the file extension being lost during the download, as when they have finished downloading the file, Windows does not recognise the file type and when double-clicked, asks what program to open the file in, when it should be a self installer, etc.
If the user renames the file and puts in .exe in at the end of the file name, Windows then recognises the file and the file works as normal???
I have linked to the file using the full filename (including the .exe extension), so I am not sure why the file loses this when it is downloaded?
Is there a better way for me to kick off the download, so to maintain the file extension, as it is doing my head in with everyone phoning up with the same problem! lol
Thanks in advance for your help.
Mark
I have an EXE file on my webserver which I would like people to be able to download. I have some error checking and basically, if they are eligable to download the software, there is an IF statement that basically has a CFLOCATION to navigate to the EXE file. The user is then presented with a download dialog and they can save the file, etc.
However, many users have reported problems with the file extension being lost during the download, as when they have finished downloading the file, Windows does not recognise the file type and when double-clicked, asks what program to open the file in, when it should be a self installer, etc.
If the user renames the file and puts in .exe in at the end of the file name, Windows then recognises the file and the file works as normal???
I have linked to the file using the full filename (including the .exe extension), so I am not sure why the file loses this when it is downloaded?
Is there a better way for me to kick off the download, so to maintain the file extension, as it is doing my head in with everyone phoning up with the same problem! lol
Thanks in advance for your help.
Mark