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

CFCONTENT problem

Guest
Sep 13, 2006 Sep 13, 2006

Copy link to clipboard

Copied

Hi,
I have a button on my site that when users click on it they supposed to get an MS excel file.
It's look like this:
<CFCONTENT TYPE="application/MSExcel" FILE="C:\excel\#exportFileName#.XLS">

My problem is that they get the file but the computer want to save it as a .cfm file, and they need to change it to .xls.
Any one knows how to solve it?
I'm using CF Server 4.5.1

Thanks,
Yotam
TOPICS
Advanced techniques

Views

216

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

correct answers 1 Correct answer

Deleted User
Sep 13, 2006 Sep 13, 2006

Livedocs shows the correct way of doing this.

http://livedocs.macromedia.com/coldfusion/7/htmldocs/00000232.htm


Good luck!

Votes

Translate

Translate
Guest
Sep 13, 2006 Sep 13, 2006

Copy link to clipboard

Copied


Livedocs shows the correct way of doing this.

http://livedocs.macromedia.com/coldfusion/7/htmldocs/00000232.htm


Good luck!

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
Guest
Sep 13, 2006 Sep 13, 2006

Copy link to clipboard

Copied

LATEST
although it's for CF MX 7, it's work for me to.

Thanks

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