Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Downloading .EXE from ColdFusion Server

Posted on 2000-04-28
7
213 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 SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

 
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

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

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

Have you ever sent email via ColdFusion and thought of tracking this mail to capture the exact date and time when the message was opened ?  If yes, then this article is for you ! First we need a table user_email with columns user_id , email , sub…
Turn A Profile Picture Into A Cartoon Using Photoshop And Illustrator This tutorial will teach you how to make a cartoon style image out of a regular picture. I have tried to keep the tutorial as simple as possible. I used Adobe CS4 for this tuto…
The purpose of this video is to demonstrate how to create a Printer Friendly PDF on a WordPress Page. This will be demonstrated using a Windows 8 PC. Tools Used are Photoshop, Awesome Screenshot” Google Chrome Extension, and SmallPDF.com Log…
The purpose of this video is to demonstrate how to properly insert a Vimeo Video into a WordPress site or Blog. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp…

861 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