Hi, I have a question regarding File Upload. My program Upload.cgi, prompt the user to upload a file, it then processes it and turns around and download it by setting the mime to a non-existing MIME type, say, "SomeCrazyType" via header() method.
$q->header ( -type => "application/x-SomeCrazyType" ); The problem is that if the user supplied a filename "MyFile.txt", in the course of returning it back to the user, and since the borwser will most likely does not how to deal with that crazy mime type, will prompt the user for "Save" and if that is chosen, then the name "Upload.cgi" is suggested. Can I somehow influence this behavior such that the user will indeed see something like "MyFile.txt.returned" or "MyFile.txt.processed" in the dialog box. By the way, the reason for the crazy MIME type, is to prevent the browser to render it. I'm trying to achive a complete upload-process-download. Perhaps there is an standard MIME type that I should use. Thank you -- ------------------------------------------------------------------------- Medi Montaseri [EMAIL PROTECTED] Unix Distributed Systems Engineer HTTP://www.CyberShell.com CyberShell Engineering -------------------------------------------------------------------------