IE6 bug which block download through CGI script ! How to ?

  • Thread starter Thread starter Us
  • Start date Start date
U

Us

Hello everybody,

I have a problem about a CGI script with IE6 at the other side, and this
block my work:-(

The problem in some words (I'll try) :

The files available for download in the site are downloadable trough a
CGI script (written in Perl) using a links like this one (fictive here):

http://www.thegivensite.org/cgi-bin/download.cgi?file=test.zip

All sound right in all tested browser (Opera, Netscape, Firefox,
Mozilla, etc), unless IE6.

I've searched a long time, thinking it was a problem about HTTP header,
but it seems to be not (nothing being definitively sure).

In fact, it seems to be about an IE6 bug doing download falls into error
(at time IE search for file info) when the EI6 checkbox option called
"don't save crypted page " is checked.

If I uncheck this case, it's OK (even if my page is not a crypted one) !

So, how to manage this big bug ?

Do you have an idea ?
 
The files available for download in the site are downloadable trough a
CGI script (written in Perl) using a links like this one (fictive here):

http://www.thegivensite.org/cgi-bin/download.cgi?file=test.zip

All sound right in all tested browser (Opera, Netscape, Firefox,
Mozilla, etc), unless IE6.

Not sure if it's the killer solution, but I've just found an HTTP header
which seems to work with IE6 and the "do not save crypted page" checked.

Content-Type: application/octet-stream
Content-Length: $size
Content-Disposition: attachment; filename=$file
Cache-Control: public
Pragma: public
Expires: 0


[maybe solved]
 
Back
Top