I have made a script in which a number of filenames from a directory are put in an html-select. Half of the files are zipfiles, and they are recognized by IE as such (mime-type), and thus I can download them by clicking on a button i've made for this purpose. But the CSV files are seen as text and opened in the browser.

How can I change the mimetype for CSV files to something obscure so that IE presents a
download-dialog? Ofcourse for zip-files the mime-type doesn't have to be changed.

Hints would be greatly appreciated!

    Write a Reply...