----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files.  Don't make us guess your problem!!!
----------------------------------------------------------------

Hi Naga -

        There's a pretty good FAQ on this here -
http://www.jguru.com/jguru/faq/view.jsp?EID=10646 - lots of details... 

        Yours,

Tom
        

-----Original Message-----
From: Naga Yerramsetti [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 20, 2000 3:35 PM
To: 'Java Apache Users'
Subject: Re: Download and IE 5


----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files.  Don't make us guess your problem!!!
----------------------------------------------------------------

But the downloded file name is myfile.ext and the user will loose the actual
filename.
Is there a work around for that?


Doug Hathaway wrote:

> ----------------------------------------------------------------
> BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
> WHEN YOU POST, include all relevant version numbers, log files,
> and configuration files.  Don't make us guess your problem!!!
> ----------------------------------------------------------------
>
> By using inline the data is displayed in the browser instead of getting
the
> File Save Dialog even with the content-type set at
"application/octet-stream".
>
> -----Original Message-----
> From:   Martin Kuba [SMTP:[EMAIL PROTECTED]]
> Sent:   Monday, March 20, 2000 3:05 AM
> To:     Java Apache Users
> Subject:        Re: Download and IE 5
>
> ----------------------------------------------------------------
> BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
> WHEN YOU POST, include all relevant version numbers, log files,
> and configuration files.  Don't make us guess your problem!!!
> ----------------------------------------------------------------
>
> Doug Hathaway wrote:
> >
> > ----------------------------------------------------------------
> > BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
> > WHEN YOU POST, include all relevant version numbers, log files,
> > and configuration files.  Don't make us guess your problem!!!
> > ----------------------------------------------------------------
> >
> > I'm currently using a servlet to download files that are in a restricted
area
> > on my Web site.  This process works fine for Netscape, the Save Dialog
box
> > appears correctly and the file name I placed in the Content-Disposition
is
> > displayed in the dialog appropriately.  However, with IE5 I get a
Save/Open
> > Dialog that has my URL Path and Query String Information from the
original
> > request.  If I chose to open the file I get presented with another
Save/Open
> > dialog but this time the appropriate file name that I used in the
> > Content-Disposition is displayed.
> >
> > If anyone has any ideas I would appreciate it.
>
> Just set the file name by using this header:
>
>  Content-Disposition: inline; filename="myfile.ext"
>
> Martin
> --
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>  Twelve Horses Ltd.            Martin Kuba
>  66 Lwr. Baggot St.     e-mail: [EMAIL PROTECTED]
>  Dublin 2               WWW: http://www.12horses.com/~makub/
>  IRELAND                tel: +353-1-2402504
> ------------------------------------------------------------
>
> --
> --------------------------------------------------------------
> Please read the FAQ! <http://java.apache.org/faq/>
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> Archives and Other:  <http://java.apache.org/main/mail.html>
> Problems?:           [EMAIL PROTECTED]
>
> --
> --------------------------------------------------------------
> Please read the FAQ! <http://java.apache.org/faq/>
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> Archives and Other:  <http://java.apache.org/main/mail.html>
> Problems?:           [EMAIL PROTECTED]



--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]


--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to