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

CFheader and CFContent

Community Beginner ,
Feb 03, 2009 Feb 03, 2009

Copy link to clipboard

Copied

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

Views

270

Translate

Translate

Report

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

Copy link to clipboard

Copied

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

Votes

Translate

Translate

Report

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
Documentation