Re: [leaf-user] File downloads using weblet

2003-06-17 Thread Erich Titl
Hi Lee I did this a few years back and had to do a refresh cycle on my memory... It is important that echo treats all its parameters so the disposition needs quotes... --- #!/bin/sh echo MIME-Version: 1.0 (just a fake) echo Content-type: application/octet-stream ;

Re: [leaf-user] File downloads using weblet

2003-06-14 Thread Lynn Avants
On Tuesday 10 June 2003 08:56 pm, Lee Kimber wrote: [...] The problem is that the shell script does deliver the file I want but never names it correctly. The script always names the file with the same name as the shell script. Eg, the script is a file called filetest. The file to download is

[leaf-user] File downloads using weblet

2003-06-10 Thread Lee Kimber
Hi, I've been tinkering with a weblet cgi script to download logs that I'm keeping on a spare hdd in one of my Bering systems. I've put an ash shell script in /var/sh-www/cgi-bin/. I'm close... oh so close... but not quite there! The problem is that the shell script does deliver the file I