> Hi,
> 
> My servlet has to get the Browsers to download binary file independently of their 
>contents. For this purpose I use response.setContentType("application/octet-stream") 
>and I write the content of the file into the output stream of the server. it works 
>fine with Netscape and partly with IE. The problem is that IE obviously ignores 
>setContentType() and depending of the file sometime it tries to show the content of 
>the file instead of downloading it.
> How can I force IE to download the file?

You can't. If IE wishes to ignore regular headers, there is nothing to be done. Unless 
someone can suggest an ActiveX control which will force download :-)

Nix.

Reply via email to