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


in reply to How do i return a file with CGI and suggest a file name to 'save as'

Use the Content-Disposition header and specifiy the filename from within there. See BBQ's take on this here.