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


in reply to Re: Getting CGI to name a file it returns
in thread Getting CGI to name a file it returns

One thing I've noticed with Content-type: application/octet-stream is that certain browsers will still try and load the file in the browser instead of thowing up a save as dialog. (Certain versions of IE will do this.) I usually use application/unknown, although I'm not sure that it's 100% successful.