Webmasters Stack Exchange is a question and answer site for pro webmasters. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a client that wants to make their products firmware files available for download on their website. The firmware files have a custom extension: .bi2. The client wants the files to be downloaded directly and not placed in a container (like a .zip file).

Is there an IIS setting that will instruct the browser to download the .bi2 file instead of trying to open it as a webpage?

Thanks in advance for your help!

share|improve this question
up vote 5 down vote accepted

In order for IIS to allow access to the file at all, it needs to be assigned a MIME-type. Use application/octet-stream and the browser will almost certainly treat it as a file it can't handle itself.

(You could also experiment with application/x-whatever-you-want)

share|improve this answer
+1 It might be useful to edit your question to add instructions on how to define a MIME type for a specific extension under IIS. (i.e. Quote the step-by-step instructions from this page.) – Nick Aug 19 '11 at 12:38
@Nick, fair point, but first OP needs to edit the question to say which version of IIS, doesn't he? – Peter Taylor Aug 19 '11 at 12:59
@PeterTaylor, Great point, I posted both because I don't know the answer. This particular website is hosted off-site and I don't know a whole lot about it. You're answer was great, and sufficient. I really just need to sound intelligent when I contact the hosting provider. – James Hill Aug 19 '11 at 13:03

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.