Working with Macromedia Cold Fusion

Article No. 78
Created: 01:52 AM 04.16.04
Author: Support
Original URL: http://myonlinehostingsupport.com/question.php?qstId=78


Cold Fusion Tags Not Supported

The following tags have been disabled on our web structure:

Cold Fusion Sample Code

Dynamic determining of path:

<cfif isdefined("Form.NewFile")>
   <cfset CurrentDir=GetDirectoryFromPath(ExpandPath("*.*"))>
   <cffile
      action="upload"
      filefield="NewFile"
      destination="#CurrentDir#"
      accept="text/plain"
      nameconflict="MakeUnique">
</cfif>

Back to original article