I'm having difficulty with setting up some download file code.
I'm trying to let users download files that are stored on the system
(in the same way as [new-]file-storage and the code in download-defs.
The above-cited examples serve the files with whatever MIME type
ns_guesstype deems appropriate, however that causes types like Word
and Acrobat documents to display inside the browser window.
I know this is an Internet Explorer "feature". MS didn't think
that programmers would be capable of setting a MIME type so they
decided to let IE guess at all times.
I also read about a work-around somewhere, but I can't remember
where that article was, or what it said.
Does anyone have any idea what I could do to get IE to *always*
show the "Open | Save as..." dialog when a link is followed?
FYI, what I'm doing is:
ns_returnfile 200 "*/*" "[gfn_files]/$project_id/
$filename"
Thanks...