How about making the image file into a zip? (or a tar.gz, or an
executable zip, or all of the above) Not only does the use get the
benefit of a smaller file, the only program that will try to run it will
be their Zip viewer.
Cheers,
Chris
Christopher Goldman wrote:
>
> Jens,
>
> This is a known IE bug. Check out
> http://support.microsoft.com/support/kb/articles/q182/3/15.asp. My company,
> among other things, builds catalog/commerce sites for stock photography. We
> would like to be able to present the user with a 'Save As...' dialog when
> they are ready to download their purchase, but on IE, we ran into the same
> problem, since IE 'knows' that JPEGs are supposed to be displayed in a
> window.
>
> Here's a quote for the bug document:
>
> You might think that setting the Content-Type to a type unknown to Explorer
> would force the File Download dialog box. In fact, the Explorer "sniffs" the
> data sent from the server and detects the type of file being sent. If it
> recognizes the file type, it will behave according to the user preference.
> At this point, there is no completely reliable way to force the File
> Download dialog box to appear when downloading a file to Internet Explorer.
>
> Misery loves company,
>
> Chris
>
> > -----Original Message-----
> > From: A mailing list for discussion about Sun Microsystem's Java Servlet
> > API Technology. [mailto:[EMAIL PROTECTED]]On Behalf Of Jens
> > Wolinder
> > Sent: Monday, March 15, 1999 5:21 AM
> > To: [EMAIL PROTECTED]
> > Subject: problem with MSIE
> >
> >
> > hi guys n' gals....
> > I´ve got a problem.....with MSIE...(surprise,surprise)
> > how do I get MSIE to download a file instead of just opening it...
> > content type is set to application/octet-stream but MSIE looks at the
> > filename and realizes he knows the MIME type and just opens the gif
> > image in the browser....
> > everything works excellent in netscape, oracle, java, u name it.....its
> > just with MSIE I encounter this problem.....
> > thanx in advance....
> > jens
> > Get Your Private, Free Email at http://www.hotmail.com
> >
> > __________________________________________________________________
> > _________
> > To unsubscribe, send email to [EMAIL PROTECTED] and include
> > in the body
> > of the message "signoff SERVLET-INTEREST".
> >
> > Archives: http://archives.java.sun.com/archives/servlet-interest.html
> > Resources: http://java.sun.com/products/servlet/external-resources.html
> > LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
> >
>
> ___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html