Article View: comp.mail.headers
Article #709Internet Explorer and Content-Disposition header
From: Patrice Bulat
Date: Tue, 08 Apr 1997 00:00
Date: Tue, 08 Apr 1997 00:00
14 lines
994 bytes
994 bytes
The following CGI script (written in C) is used to get a file
from my web server; it works well with Netscape, but
with Explorer the name given to the file is the one of
the executable!
printf("Content-Type: application/octet-stream\n");
printf("Content-Disposition: attachment; filename=xxx.yyy\n\n");
<...print file content on stdout...>
With Netscape, the script asks me to save the file under xxx.yyy
With Explorer, it asks me to save the file under myscript.exe !
Any idea ?
Technical Details
Message-ID:
<01bc43ff$2e2aa740$849733c2@heracles.mnet.fr>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f4258,80a02c2785f669df,start X-Google-Attributes: gidf4258,public X-Google-Thread: fd322,80a02c2785f669df,start X-Google-Attributes: gidfd322,public From: "Patrice Bulat" <patrice@mnet.fr> Subject: Internet Explorer and Content-Disposition header Date: 1997/04/08 Message-ID: <01bc43ff$2e2aa740$849733c2@heracles.mnet.fr> X-Deja-AN: 231510694 Organization: Mnet InterNet News Access Newsgroups: comp.mail.headers,fr.comp.mail