FileOpsObj.$createtmpfile()

Function group Execute on client Platform(s)
FileOps NO All

Syntax

$createtmpfile()

Description

Creates and then opens a temporary file, ready for you to write data to it. Returns kTrue for success.

$createtmpfile() returns a boolean value, which is true if the temporary file was successfully created and then opened.

After a file has been opened, after using $createtmpfile(), the $filepath property of the FileOps object instance will contain the path to the file. This is an alternative or shortcut to returning the file name in the list provided by the $getfileinfo() function. If there is no open file or the file has been closed, $filepath is empty.