Skip to main content

Create temporary file

Create an empty file with a unique name in the temporary folder (or another folder), for working data an agent needs only for a while.

Command in the File toolkit · id ooa.file/create_temp_file · 4 inputs, 1 output

Inputs​

InputTypeRequiredDefaultWhat it is
ExtensionStringNo.tmpFile extension, e.g. .csv or .xlsx.
Delete at endBooleanNotrueDelete the file when the run ends (also when it fails); turn off to keep it.
FolderFileNoFolder to create it in; the system's temporary folder when empty.
PrefixStringNoooa-Start of the file name.

Outputs​

OutputTypeWhat it is
pathFileFull path of the new file.