Nov 18, 2001, 11:26 PM
Post #4 of 4
This seams like a good idea if you have a link but in my case I have "download" button. The only way of telling the browser the .hex filename is through the perl-code. You can see my form at: www.anderssonsskomakeri.se/cgi-bin/hexcad.pl,
Re: Choose name for a downloadable "text" file!
[In reply to]
and you can see my script attached
I have succeded. The magic perl-code was:
print "Content-type: text/hex", "\n";
print "Content-Disposition: attachment; filename=noname.hex\n\n";
Thanks for all help!
(This post was edited by stefan on Nov 18, 2001, 10:57 PM)