Lucee Function Reference

gettempdirectory()

Returns the full path to the currently assigned temporary directory, optionally creating a unique temp directory

Example

gettempdirectory([string unique]):string

Arguments

The arguments for this function are set. You can not use other arguments except the following ones.
Name Type Required Default Value Description
unique string  No false If true or not empty, creates and returns a unique temp directory, optionally prefixed