IE 6 Download

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Brian Donovan

    #1

    IE 6 Download

    Hi All,

    I'm trying to get a forced download to work with IE 6.0.

    The headers I'm using so far are:

    header("Cache-Control: private");
    header("Content-Type: application/force-download");
    header("Content-Type: application/octet-stream");
    header("Content-Type: application/download");
    header("Content-Disposition: attachment; filename=$file_ name;");
    header("Content-Transfer-Encoding: binary");
    header("Content-Length: $file_size");

    I am using a session. The download is based on form summitted data.
    When IE trys to download the file I get:

    Can not download: download.php

    Any ideas?

    Thanks,
    Brian
  • Gary Petersen

    #2
    Re: IE 6 Download

    A horsie named Brian Donovan demonstrated surprising intelligence and its
    ability to use morse code on Tue, 09 Sep 2003 14:14:28 -0500 when it
    tapped <pan.2003.09.09 .19.10.19.37875 5@doe.com> with its hoof:
    [color=blue]
    > [...]
    > When IE trys to download the file I get:
    >
    > Can not download: download.php
    > [...][/color]

    Does it work with other browsers?

    Comment

    Working...