"Edward G. Orton" wrote:
> 
> ----- Original Message -----
> From: "Bill Luebkert" <[EMAIL PROTECTED]>
> To: "Perl-Win32-Web Mailing List" 
<[EMAIL PROTECTED]>
> Sent: Thursday, September 27, 2001 8:50 PM
> Subject: Re: file downloading
> 
> > Gert Lombard wrote:
> > >
> > > Hi Edward,
> > >
> > > When downloading files, I use these headers:
> > >
> > > Content-Disposition: inline; filename="MyName.exe"
> > > Content-Length: $filesize
> > > Content-Type: application/octet-stream
> > >
> > > the Content-Disposition tells the browser which 
name
> > to use...
> >
> > You could also try:
> >
> > Content-type: $mimetype; name="$file"
> >
> > --
> The former works with Netscape, but with IE you have 
to change it to
> attachment; instead of inline; The latter doesn't seem 
to work with either.

If the latter is my content-type line, you need to 
replace Gert's content-type 
line with mine and keep the rest of the header lines - 
not drop them (assuming 
that's what you did).

> With Netscape it asks if you want to save the file to 
disk, and specifies
> the name in 'filename'. With IE, it asks if you want 
to save the file to
> disk, but gives the script name with the parameters. 
When you say ok, it
> drops in the proper file name in the dialogue box. 
What a mess!!!!!


-- 
  ,-/-  __      _  _         $Bill Luebkert   
ICQ=14439852
 (_/   /  )    // //       DBE Collectibles   
Mailto:[EMAIL PROTECTED] 
  / ) /--<  o // //      http://dbecoll.tripod.com/ 
(Free site for Perl)
-/-' /___/_<_</_</_     Castle of Medieval Myth & Magic 
http://www.todbe.com/
_______________________________________________
Perl-Win32-Web mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-web

Reply via email to