Solved

Downloading .EXE from ColdFusion Server

Posted on 2000-04-28
7
210 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
What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

 
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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

This is a guide to setting up a new WHM/cPanel Server to be used for web hosting accounts. It is intended for web hosting company administrators and dedicated server owners. For under $99 per month (considering normal rate of Big Data Cetnters like …
Introduction This article explores the design of a cache system that can improve the performance of a web site or web application.  The assumption is that the web site has many more “read” operations than “write” operations (this is commonly the ca…
The purpose of this video is to demonstrate how to integrate Mailchimp with Facebook. This will be demonstrated using a Windows 8 PC. Mailchimp and Facebook will be used. Log into your Mailchimp account. : Click on your name. Go to Account Setti…
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…

759 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now