String extension - A file extension, such as ".txt", to append to the end of the temporary file.
String - The path to the newly created temp file.
Gateway, Vision Client, Perspective Session
# This code writes some data to a temporary file and then opens that file.
# Assume that the data variable holds the contents of an Excel (xls) file.
filename = system.file.getTempFile("xls")
system.net.openURL("file://" + filename)