okay guys, can't figure this one out and have searched google until I can't search anymore...

This line worked in CF 5.0

<cfcontent file="c:\cfusion\wwwroot\ncdp\repository\#getsystem.system#\#getdir.doc_File_Name#" type="zebra/zebra">

In MX it works except the dialogue box that opens does not have the document file name, but the CF file name (downloaddocument.cfm).

The parameters are correct because this works:

<cfoutput>
<a href="" Document Here</a>
</cfoutput>

but I want to automatically pop up the dialogue to open/save the document, not give an href.  I've also tried this:

cffile action="" file="c:\cfusion\wwwroot\ncdp\repository\#getsystem.system#\#getdir.doc_File_Name#" variable="ncdp"/>
<cfcontent type="zebra/zebra">
<CFSCRIPT>
    writeOutput(toString(ncdp));
</cfscript>

with the same results as cfcontent.

Can someone tell me what I'm doing wrong?

TIA
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to