Tags · Functions · Objects
Lucee Function Reference
Choose a function:

Function GETTEMPFILE

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

Example

gettempfile(string dir,string prefix):string

Arguments

The arguments for this function are set. You can not use other arguments except the following ones.
Name Type Required Description
dir string  Yes Directory name  
prefix string  Yes Prefix of a temporary file to create in the dir directory