You are here: InfrastructureTempPathnameCreator


Reserves and returns a temporary file or directory path that will be deleted upon translation completion. An optional basename and extension can be supplied to further refine the filename portion of the resulting pathname. The resulting pathnames will look something like:

<FME temporary directory>/<process #s><TransformerName>_<uuid>/<basename><timestamp>_<sequence #><extension>

For example, on Windows the transformer would create something like:


And on Linux/MacOS:


The FME_TEMP environment variable can override the default location for temporary directories. See for more details.

Each instance of this transformer will itself create a subdirectory within the temporary directory in use, and return unique paths within that subdirectory. This subdirectory and its contents will be destroyed at the end of the translation but before any END_PYTHON or END_TCL scripts are invoked.

Input Ports

Output Ports



Usage Notes

This transformer is typically used in conjunction with the FeatureWriter or AttributeFileWriter in workflows which need a temporary file location that will live only for the duration of the translation. The files are then typically consumed downstream in the workflow by transformers like the Emailer or HTMLReportGenerator.

Editing Transformer Parameters

Using a set of menu options, transformer parameters can be assigned by referencing other elements in the workspace. More advanced functions, such as an advanced editor and an arithmetic editor, are also available in some transformers. To access a menu of these options, click beside the applicable parameter. For more information, see Transformer Parameter Menu Options.

Transformer Categories


Search FME Knowledge Center

Search for samples and information about this transformer on the FME Knowledge Center.