Skip to main content
Solved

Intentionally writing to FME Temp

  • July 29, 2014
  • 2 replies
  • 38 views

fmelizard
Safer
Forum|alt.badge.img+20
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

Best answer by fmelizard

(Oh, and as a corollary, I'll also need to read from it too!)
This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

2 replies

fmelizard
Safer
Forum|alt.badge.img+20
  • Author
  • Safer
  • 3719 replies
  • Best Answer
  • July 29, 2014
(Oh, and as a corollary, I'll also need to read from it too!)

mattwilkie
Enthusiast
Forum|alt.badge.img+11
  • Enthusiast
  • 92 replies
  • June 13, 2022

The transformer for this seems to be TempPathnameCreator.