logo

New Response

« Return to the main article

You are replying to:

  1. I could give an example that's working in my web server (Apache) with NS4, NS6x, Mozilla, IE4, IE5, (IE5.5 not tested!) IE6 browsers. It's written in Perl.

    $type = 'application/download'; #$type = 'application/octet-stream';

    $name = 'some.txt'; #$name = 'some.wav'; #$name = 'some.tar.gz';

    print "MIME-Type: 1.0\n"; print "X-Powered-By: WebTools/1.28\n"; print "Content-Disposition: attachment;filename=\"$name\"\n"; print "Content-Transfer-Encoding: binary\n"; print "Content-Type: ".$type.";name=\"$name\"\n\n";

    It's seems to run smoothly. Regards, Julian Lishev www.proscriptum.com

Your Comments

Name:
E-mail:
(optional)
Website:
(optional)
Comment: