W3C home > Mailing lists > Public > www-talk@w3.org > January to February 1999

downloading file via gateway server

From: TK Sung <tksung@extravert.com>
Date: Mon, 15 Feb 1999 13:55:05 -0800
Message-ID: <00c401be592d$d8f3cf90$5e43dcd1@zooey.extravert.com>
To: <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
Received on Monday, 15 February 1999 16:54:37 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 27 October 2010 18:14:24 GMT