W3C home > Mailing lists > Public > www-html@w3.org > October 2000

Re: Download question

From: Pawel S. Veselov <vps@phoenix.math.spbu.ru>
Date: Wed, 25 Oct 2000 10:43:53 +0400 (MSD)
To: Bakos Peter <koka@makacs.poliod.hu>
cc: www-html@w3.org
Message-ID: <Pine.LNX.4.21.0010251042120.707-100000@phoenix.math.spbu.ru>
                    Hello, Bakos!

On Wed, 25 Oct 2000, Bakos Peter wrote:

>Hi!
>Is there any way to hide the url of the downloadable file?
>Can anybody help me?

You need a cgi script like that:

#!/bin/sh

echo "Content-type: application/octet-stream" # or any mime-type you need
echo
cat file_you_want_to_send


This script can also determine whether the file should be sent or not
and what file to send.

Bye.
--
Many people are desperately looking for some wise advice
which will recommend that they do what they want to do.
--                                                                  _
With best of best regards, Pawel S. Veselov (aka Black Angel) __ __(_) _ __
   Web page : http://i.am/BlackAngel | ICQ UIN : 5252265      \ V /| || '  \
               Internet e-mail : blackangel@i.am               \_/ |_||_|_|_|
Received on Wednesday, 25 October 2000 02:45:20 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:15:44 GMT