[11272] in www-talk@info.cern.ch
downloading file via gateway server
daemon@ATHENA.MIT.EDU (TK Sung)
Mon Feb 15 16:56:16 1999
From: "TK Sung" <tksung@extravert.com>
To: <www-talk@w3.org>
Date: Mon, 15 Feb 1999 13:55:05 -0800
Resent-From: www-talk@w3.org
Hi,
I'm writing a web gateway. One problem I have is that,
when my gateway returns application/x contentype,
the browser saves the file with the name of my gateway
cgi. For example, if the URL of the gateway is
http://gateway.acme.com/cgi-bin/gateway?url=somefile.zip
then the browser saves the file as
gateway.zip.
Is there a way to tell the browser to save the file as
"somefile.zip" by default ? I experimented with "location"
header, but it did not have an effect.
Thanks in advance.
TK