1 Reply Latest reply on Feb 11, 2009 4:52 AM by Newsgroup_User

    CFheader and CFContent

    mbdooly
      Hello all-
      I am having an issue with the tags cfheader and cfcontent. This is the code I am using:

      <cfheader name="Content-Disposition" value="filename=Jurisdictionary.exe">
      <cfcontent type="application/octet-stream" file="c:\windown\Jurisdictionary.exe">

      The issue is that my file is not being renamed correctly, I keep getting a file with the extension of 'EFW'.
      This did work at one time as I had been provided with thte mime type of "octet-stream" but now that is not working, has anyone got a solution or a site where I can get more info?

      Thanks a bunch, you are all the very best there is and many thanks to you in the past!!

      Respectfully
      MIke Dooly
        • 1. Re: CFheader and CFContent
          Level 7
          mbdooly wrote:
          > Hello all-
          > I am having an issue with the tags cfheader and cfcontent. This is the code I
          > am using:
          >
          > <cfheader name="Content-Disposition" value="filename=Jurisdictionary.exe">

          Try value="attachment; filename=""Jurisdictionary.exe"""

          --
          Mack