FileTouch()
Touches given file, creates the file if not already exists.
FileTouch( file=any, createPath=boolean );
Returns: void
Argument | Description |
---|---|
file
any,
required
|
file to touch. |
createPath
boolean,
optional
|
if set to false, expects all parent directories to exist, true (default) will generate necessary directories |
Examples
There are currently no examples for this function 14,219ms WARN No examples for function filetouchSee also
- File handling
- Search Issue Tracker
- Search Lucee Test Cases (good for further, detailed examples)