Creates a temporary file in a directory whose name starts with
(at most) the first three characters of prefix.
Lucee Function Reference
Function GETTEMPFILE
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 |