Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

CFheader and CFContent

Community Beginner ,
Feb 03, 2009 Feb 03, 2009
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
TOPICS
Advanced techniques
284
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Feb 11, 2009 Feb 11, 2009
LATEST
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
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources