If you're using IE 4.0, it's a problem.
The problem was fixed in IE 4.01 and later.
--------------------------------------------
From that KB article :
----------------------
CAUSE
This problem can occur if Internet Explorer 4.0 is installed
and the "Hide file extensions for known file types"
(or "Hide MS-DOS file extensions for file types
that are registered") check box is selected.
STATUS
This behavior no longer occurs
in Internet Explorer 4.01 Service Pack 1.
--------------------------------------------
That shouldn't be your problem, currently, Mark,
since at least IE 5.01 is needed to install the .Net Framework.
Why are you setting the content-type parameter at all ?
For a simple download link, you don't need to set the
content-type parameter to application/octet-stream.
My question to you is :
Why don't you use a standard HTML <a href...> tag ?
I just tried it with the WebMatrix.msi file, like this :
<a href="WebMatrix.msi">WebMatrix</a>
and it works just fine.
If you need for the file to be somewhere else,
you can change the directory path to fit your needs.
If you have special needs ( like the file being selected
dynamically instead of being a static link), there's many
ways that can be achieved.
Juan T. Llibre
ASP.NET MVP
===========
Ken Cox said:
Hi Mark,
Here's an article that offers something of an explanation:
File Extensions Are Lost When Saving Files from the Internet
http://support.microsoft.com/default.aspx?scid=kb;en-us;176106
Ken
Ken,
I'm confused. Why would it be stripped because it's a known extension?
Why would the extension ever be stripped?
FWIW, msi is a known extension on at least my machine (which exhibits
the problem).
- Mark
On Sat, 15 Jan 2005 12:50:05 -0500, "Ken Cox [Microsoft MVP]"
Is it stripped off by IE because it is listed on that machine as a known
file extension?