Solved

Downloading .EXE from ColdFusion Server

Posted on 2000-04-28
7
212 Views
Last Modified: 2013-12-24
I have put a simple .html web page on a ColdFusion server.

On that web page (with NO ColdFusion tags) I have a link to a .exe file that
I want the user to be able to download.

When I run the page on my browser, the server nothing happens, the browser waits and waits, and the "Save As..." dialog never appears.

When I try to download .exe files from other web sites (with my browser), I do not have this problem.

When I run the .html page locally on my workstation, I'm able to download with no problem.

So the question is:  Does the ColdFusion Server handle links to .exe files differently than expected, or do I have to contact my server's administrator to try and fix this?
0
Comment
Question by:lgrove
  • 4
  • 2
7 Comments
 
LVL 2

Expert Comment

by:dlewis9
ID: 2761025
Try changing the permissions on the web server for that folder to "script" instead of "execute"..

If it is set to "execute", the web server tries to run the executable instead of prompting to user to download it.
0
 

Author Comment

by:lgrove
ID: 2761062
Adjusted points from 200 to 300
0
 

Author Comment

by:lgrove
ID: 2761063
How do you change the permission to "script"?
0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
LVL 2

Expert Comment

by:dlewis9
ID: 2761097
Another comment --

Setting the folder to "script" permissions may stop any CF pages from running (since they need execute permission..they kept working on my server though..hmmmmm), so you might as well make the permissions "none" unless you need "script" for some reason..

Unfortunately, it's something you'll have to contact the administrator about.  Just have them set you up a seperate folder that has no execute permissions.
0
 
LVL 2

Accepted Solution

by:
dlewis9 earned 300 total points
ID: 2761105
The permissions have to be changed in the IIS (Internet Information Server) Internet Service Manager..

It's an administrative application on the server...there's a web interface also, but if you don't have access, it won't help you much..
0
 
LVL 2

Expert Comment

by:dlewis9
ID: 2761109
Sorry -- i'm typing before i think today..I'm assuming that this server is an NT IIS 4.0 platform..

If you need step-by-step instructions, just let me know..
0
 
LVL 5

Expert Comment

by:nathans
ID: 2765793
What he is telling you is true...

If the webserver your using is NT or 95/98 and IIS then you need to change permissions on the folder that it is in.

What is happening it the .exe file is trying to execute on the webserver instead of downloading.

another option if you can not get access to change the webserver is simply to zip up the file and then it will be downloaded when they click on it.

Nathan Stanford
www.nsnd.com
Mr ColdFusion
ColdFusion Tips Plus
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Periodically we have to update or add SSL certificates for customers. Depending upon your hosting plan you may be responsible for the installation and/or key generation. In the wake of Heartbleed many sites were forced to re-key. We will concen…
This guide will walk you through the essential considerations and tech stack for building scalable websites. Know how to grow your business the smart way!
The purpose of this video is to demonstrate how to automatically show related posts at the bottom of a blog post in WordPress. This will be demonstrated using a Windows 8 PC. Plugin “Yet Another Related Posts Plugin” will be used. Go to your…
The purpose of this video is to demonstrate how to set up the permalinks on a WordPress Website. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp-login.php : Go t…

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question