MACROMEDIA COLFUSION MX 7-CFML Reference page 638

Cfml reference
Hide thumbs Also See for COLFUSION MX 7-CFML:
Table of Contents

Advertisement

GetTempFile
Description
Creates a temporary file in a directory whose name starts with (at most) the first three characters
of prefix.
Returns
Name of a temporary file, as a string.
Category
System functions
Function syntax
GetTempFile(dir, prefix)
See also
GetTempDirectory
Parameters
Parameter
dir
prefix
Example
<h3>GetTempFile Example</h3>
<p>The temporary directory for this ColdFusion Server is
<cfoutput>#GetTempDirectory()#</cfoutput>.
<p>We have created a temporary file called:
<cfoutput>#GetTempFile(GetTempDirectory(),"testFile")#</cfoutput>
638
Chapter 3: ColdFusion Functions
Description
Directory name
Prefix of a temporary file to create in the
directory
dir

Advertisement

Table of Contents
loading

This manual is also suitable for:

Colfusion mx 7 - installing and using coldfusion mx

Table of Contents