Medi Montaseri wrote:

> 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.

Add a "Content-Disposition" header like this:

Content-Disposition: attachment; filename=MyFile.txt.returned

I don't remember for sure, but I think a Content-Length header might
help browsers evaluate the time remaining for the download.

> 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.

There is a standard type for that function, application/octet-stream. Of
course, whatever you set the Content-Type header to, Internet Explorer
could cheerfully ignore it if the extension is associated on the client
machine, but that's not your problem anymore I guess... ;-)

-- 
Pierre Phaneuf

Reply via email to