[thelist] IE 5/Mac File Download Behavior
Wade Armstrong
wade_lists at runstrong.com
Wed Sep 4 11:14:01 CDT 2002
on 9/4/02 7:17 AM, Ben Dyer at ben_dyer at imaginuity.com wrote:
> Now, everything works great in every browser I can find...except for
> IE5/Mac (specific version doesn't seem to matter and neither does OS 9/OS
> X). It opens the file (in "Preview" in OS X) after it saves the file on
> the desktop as the PDF, but gives it the name of "index.cfm," which means,
> at least on my machine at home, I can't reopen it without renaming it.
>
> Does anyone know of a way around this behavior, to give it the correct file
> name? I tried searching on Google, but I wasn't even sure how to describe
> this problem to a search engine. :)
In ASP, I have to set the filename in the header:
Response.AddHeader "content-disposition","attachment; filename=" & strFile
(where strFile is the name I want the file to have).
Should be easy to do the same in CF.
Wade
More information about the thelist
mailing list