Welcome to WebmasterWorld Guest from

Forum Moderators: open

Message Too Old, No Replies

Prevent Internet Explorer opening documents

How to prevent IE from opening Word-documents

7:48 am on Aug 18, 2008 (gmt 0)

Junior Member

10+ Year Member

joined:Aug 7, 2007
votes: 0

Is there any way to prevent IE from opening RTF-documents in the browser window?
I have a document on my web page that I want the user to download rather than open it in Explorer.
8:24 am on Aug 18, 2008 (gmt 0)

Full Member

10+ Year Member

joined:July 26, 2008
votes: 0

I looked around. It looks like if you know how you can change the settings for the file through your web server and set it so that they content type is application/ocetet-stream. Although it seems that IE may ignore this. Another way which may work is to put the file in a zip format - which will force the user to select to open it or to download it.

If you search around there are some more complex means which may work better - but it requires more than just some basic HTML or file naming techniques.