Fred -

You're a God. That did it.


Steve


"Fred T. Sanders" wrote:

> sorry I didn't read the whole post.  I had this problem and ended up having
> to the route the file request through a simple little tag to get 5.5 to
> behave the way I wanted it to.
>
> the fuseaction.
> <cfcase value="getfile">
>         <cf_getfile outputfileName="#attributes.filename#"
> outputDir="#GetDirectoryFromPath(GetTemplatePath())#\whatever"
> deletefile="yes">
> </cfcase>
>
> The super simplistic tag customized to your example code.
>
> getfile.cfm
> ----------
> <cfparam name="attributes.outputDir" type="string">
> <cfparam name="attributes.outputFilename" type="string">
> <cfparam name="attributes.deleteFile" default="no">
>
> <cfheader name="content-disposition" value="inline;
> filename=#attributes.outputfilename#">
> <cfcontent type="application/unknown"
> file="#attributes.outputdir#\#attributes.filename#" deletefile="No">
>
> hope this helps.


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to