http://qs321.pair.com?node_id=97265


in reply to Getting CGI to name a file it returns

This may be too obvious, but why not output/copy the file to a randomly created temp dir in your web site and then print a Location header that points to it? Using CGI:
print CGI::redirect('http;//my.url.of.temp.file');
If MIME type is unknown, browser will then ask you to save, using same filename.

Or am I missing something?

cLive ;-)