Google Answers Logo
View Question
Q: Can Internet Explorer be forced to download a particular file extension? ( No Answer,   0 Comments )
Subject: Can Internet Explorer be forced to download a particular file extension?
Category: Computers > Programming
Asked by: parkerdoo-ga
List Price: $25.00
Posted: 30 Sep 2006 10:33 PDT
Expires: 30 Oct 2006 09:33 PST
Question ID: 769710
I have a website where users need to upload two proprietary file
types, one ends in .sfz and the other .dds. FireFox has no problem
simply recognizing that it does not recognize these files, and
starting a download dialog.

IE, on the other hand, just gives a file not found error, even though
the file IS there.

Is there any way, via coding or via browser settings, that I can
assure that my users are able to download these files types either by
them automatically opening a "save as" dialog box or by the user
having to right click a link and choose the "save as" option? Either
would be accpetable, i just need to do this in IE 6 or greater.

FYI - a completely different solution could also be an acceptable
answer. I just need to get the users to be able to download these
files using IE, from a hyperlink that links directly to the file.

Request for Question Clarification by pafalafa-ga on 30 Sep 2006 10:40 PDT

The simplest solution is probably to rename the files with a different
extension that IE recognizes, and instruct your users to change the
name back to the proper extension after the download.

As for a more elegant solution, one might be available, but I think a
researcher would have to visit your site and try the download to see
what's what.

Is that an option?  If so, please let us know your website address.



Request for Question Clarification by denco-ga on 30 Sep 2006 20:02 PDT
Howdy parkerdoo-ga,

There are several ways you might be able to accomplish what you need.

Please review the following resources for the method that is most
applicable to your situation.

Microsoft - "How To Raise a 'File Download' Dialog Box for a Known MIME Type"

javascript.faqts - "How can I force a File Download ..." - "Force Download Of File"

[thelist] - "Force file download from browser ..."

If the above resources answer your question, please tell me and I will post
them as such.  Thanks!

Looking Forward, denco-ga - Google Answers Researcher
There is no answer at this time.

There are no comments at this time.

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  

Google Home - Answers FAQ - Terms of Service - Privacy Policy