Solved

Downloading .EXE from ColdFusion Server

Posted on 2000-04-28
7
214 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
[X]
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
  • 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
NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

 
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

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

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…
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 exclude a particular blog category from the main blog page. This is can be used when a category already has its own tab, or you simply want certain types of posts not to show up on the main blog. …
The purpose of this video is to demonstrate how to Test the speed of a WordPress Website. Site Speed is an important metric of a site’s health. Slow site speed can result in viewers leaving your site quickly and not seeing your content. This…

730 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