Skip to main content
Hi folks,

 

I was wondering, is there a way to intentionally write to FME's temp location?

 

 

I want to create a workbench that's portable and needs to write a lot of scratch data using a few workbench-runners (deleted at the end of the process).

 

 

Is it possible to intentionally write to it? There doesn't seem to be anything on http://fmepedia.safe.com/articles/FAQ/FME-TEMP-environment-variable .

 

I've done some testing:

 

 

- %FME_TEMP% as the destination just means FME creates a directory called that.

 

- <FMEDrive> in various guises just results in a workbench crash.

 

- Not specifying a directory means that FME writes the file to wherever the workbench is saved. Only if it's an unsaved (new) workbench will this be the fme_temp directory itself.

 

 

Thoughts? Is this even possible? I'd prefer not to have to hard-code somewhere, or even bother with a user parameter.

 

 

Cheers,

 

Jonathan
(Oh, and as a corollary, I'll also need to read from it too!)

The transformer for this seems to be TempPathnameCreator.


Reply