Returns the path to the temporary folder FileMaker Pro uses for the current user, or the path FileMaker Server uses on the system.
Data type returned
FileMaker Pro 9.0
The temporary folder name begins with S, followed by a number representing the session of the database engine during which the operation took place. Because your operating system controls the location of temporary files, the exact path returned may be different from the examples shown. The actual path returned also depends on which product (FileMaker Pro or FileMaker Server) is executing the function.
In FileMaker Pro, the temporary folder and any files placed in it are deleted when FileMaker Pro is terminated. In server-side scripts, each script runs in its own session; once the script is completed, the session terminates and the temporary folder is deleted.
•In FileMaker WebDirect, this function is not supported and returns an empty string.
•OS X: /Macintosh HD/var/folders/r8/k3_nw76d6t95mh6cf3d21fpc0000gn/T/S10/
Each part of the path may vary from these examples, so don't rely on the path to follow a particular pattern.