We help IT Professionals succeed at work.

Internet Explorer Changes File Extension

683 Views
Last Modified: 2013-12-08
We have created several data files that work with a program that uses files with the extension .mhw. I believe that the files are XML files. We make the files available for download on the web. In Firefox, righ-clicking on the file allows users to save the file properly. In IE6 and IE7 when users right-click and choose Save Target As, the extension is automatically changed from .mhw to .xml. Even when they choose Save As Type: All Files, the extension remains .xml. How do I get it to retain the original extension? Here is an example of a file name:
#filename.mhw
Comment
Watch Question

Top Expert 2013
Commented:
Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION

Author

Commented:
The article was interesting and a bit over my head. But I don't think it solves the issue. How can I get IE not to sniff, or to simply download the file as named?
Top Expert 2013

Commented:
TUMIhq--The implication is that you cannot change the IE action.
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a sample view!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.