Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Downloading a .exe

Status
Not open for further replies.

Sarky78

Programmer
Oct 19, 2000
878
GB
We are developing a website(written in CF), that requires the downloading of an .exe file. When the link is clicked, it takes an absolute age for the server to actually do anything, if at all. When this file is changed to a .zip file, it will start to download immediately. Is there anything that needs to be configured on the server, to allow for a .exe file to be downloaded ?
 
It's possible that your web server is configured to run .exe files locally instead of returning them. In that case, when you click the link, you're causing the .exe to be run on the server. If this is not the case, the only other difference might be your web browser is trying to run it locally instead of downloading it. Outside of these two situations, there really isn't any difference between the two file formats that I'm aware of.

GJ
 
Right I think that it is actually trying to run the file on the server. You say that the web server may be configured to do this. How do I make it so that the web server does not run the files. We are running IIS, and in a book we have it says that all files with a .exe extension are run by the server, but will time out after 15 minutes.
 
Wow, that's rare. I would suggest you install SP5 and get it upgraded to at least version 3. I just verified that the default behavior for version 3 is not to run the file. If you update IIS, it might solve your problem. If someone has intentionally changed the config, you may still have to make a change but I would upgrade first. If that doesn't fix it, I'll look up where you change this in the registry.

GJ
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top