Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CFCONTENT Excel error

Status
Not open for further replies.

Argus

Programmer
Mar 10, 2000
8
GB
When I use CFCONTENT it displays excel files as "ÐÏࡱá>þÿ ....etc". I tested a gif and it came up fine.

The code I am using is:-

<cfcontent deletefile=&quot;no&quot; file=&quot;d:/data/mysheet.xls&quot; type=&quot;application/msexcel&quot;>

Pretty straightforward I think. Any ideas? Is there something obvious I'm missing??

Cheers
 
Try this:
Code:
<cfheader name=&quot;Content-Disposition&quot; value=&quot;inline; filename=mysheet.xls&quot;>
<cfcontent deletefile=&quot;no&quot; file=&quot;d:\data\mysheet.xls&quot; type=&quot;application/unknown&quot;>
-Tek
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top