Skip to main content
Known Participant
August 1, 2011
Question

cfcontent

  • August 1, 2011
  • 1 reply
  • 756 views

i'm using cfcontent to deliver zip files. works fine in IE8, firefox, opera etc

however when IE9 is used, instead of the dialog box asking to save the file (e.g test.zip) it is asking the user to save the .cfm page.

any ideas?

code i am using:


<cfheader name="Content-Disposition" value="attachment; filename=#ReplaceNoCase(GetDocs.Data, " ", "_", "all")#">

<cfcontent file="D:\documents\#GetDocs.Data#" type="application/zip">

    This topic has been closed for replies.

    1 reply

    coyloAuthor
    Known Participant
    August 2, 2011

    turns out Internet Explorer Enhanced Security Configuration was enabled.

    resetting all security zones to default level fixed it.