getTempFile

Creates a temporary file in a directory whose name starts with
(at most) the first three characters of prefix.

getTempFile(dir, prefix) → returns String

Argument Reference for the getTempFile function

dir

Required: Yes

prefix

Required: Yes

Examples sample code invoking the getTempFile function


Tag Syntax

<cfoutput>#getTempFile(getTempDirectory(),"testFile")#</cfoutput></p>    

Fork me on GitHub