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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CFContent usage

Status
Not open for further replies.

kann

Programmer
Feb 16, 2000
25
0
0
US
Hi,
I hava a problem with CFContent usage,In my application
user has to download data as 'XL' spread sheet. When i try to down load from browser
1.Opening file download dialog.->ok
2.Then 'Save As' dialog box, in that i have 'File name'
and 'Save as Type' choice. But in Save as Type i don't have 'csv' or 'xl' extensions, only it has 'Coldfusion and
all' types. Can i include the 'xl and csv'? and also can i
Highlight 'csv' when download as 'csv'.
3.Can i pass file name to this Dilogbox ?
If i save the file name with extension '.csv', it is working fine( opening in xl application).
I think all these process is related OS, if so how can I make these included
Thanks
kann
 
Can you post your code? It sounds like the mime type isn't getting set correctly. It's been a while since I did what you're describing but I believe you would want to put the <cfcontent> tag at the top of your page and set it something like this:

<cfcontent type=&quot;application/xlc&quot;>

Even if your code is correct, the problem you are describing involves the actual browser and could be a bug with the specific version you're using although this is probably not the case.

GJ
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top