Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 379775
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T14:55:28+00:00 2026-05-12T14:55:28+00:00

I have a website from which I want to enable browser users to download

  • 0

I have a website from which I want to enable browser users to download an exe.

I am testing it with a very simple HTML file which I load into the web browser with “File>Open”. The “body” looks something like this:

<body>
<a href="http://www.example.com/myprogram.exe" target="_self">click to download exe</a>
<a href="http://www.example.com/myprogram.zip" target="_self">click to download zip</a>
</body>

The issue is this: when I click on the first link (myprogram.exe), the browser (IE8 as well as FireFox) streams the myprogram.exe directly into the browser window: I see a whole lot of binary.

When I click on the second link (myprogram.zip), the browser asks me if I would like to open the file or save it to disk, which is what I expected to happen with the .exe.

This is the ONLY .exe download that causes this strange behaviour. I have downloaded .exes often and the browsers always ask me whether to open the file or save to disk.

Is there something that needs to be set on the web site itself, or the host or … ?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T14:55:28+00:00Added an answer on May 12, 2026 at 2:55 pm

    You need to correct the content-type your webserver is sending. It sounds like it is claiming that the data is text/plain. My mime.types file suggests exe files should be application/x-msdos-program

    If you are using Apache, see http://httpd.apache.org/docs/1.3/mod/mod_mime.html#addtype (or the similar page in the manual for the version you are using).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i have a website which i want my users to access from their iphones
I have a web site which I download 2-3 MB of raw data from
We have a Joomla website which we want to copy over to another host
I have a website which creates a cookie and I want to use this
I have a website and want to step over from MySql to SqlServer. In
I have a website running a basic ASP.NET application that is mostly used from
In my asp.net-mvc website I have a field that usually has a string (from
We have a website that uses #include file command to roll info into some
I have some website which requires a logon and shows sensitive information. The person
I have a website where the user requires to add and remove Headlines from

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.