Skip to main content
Question

FME-Server/Engine: Output directory

  • December 21, 2012
  • 3 replies
  • 30 views

mhab
Contributor
Forum|alt.badge.img+10
Hello

 

 

If I run a workspace on FME Server through an FME-Engine, and

 

- if this workspace writes some output,

 

- and the output is specified without a path

 

    e.g. write DXF to "test" ...

 

 

--> then the output is written to the FME-Server Repository directory, which is NOT where I prefer to get the result.

 

 

Is there a way to specify the working dir for the engine at runtime, like with a parameter ?

 

 

I found FME_WORKING_DIR in the engine configuration, but it seems to be static.

 

 

Thanks for any advice

 

Michael
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.

3 replies

sigtill
Supporter
Forum|alt.badge.img+25
  • Supporter
  • December 21, 2012
Hi Michael!

 

 

You are looking for the "temp" directory for each transaction: Called: FME_SERVER_DEST_DIR. More information here:

 

 

http://fmepedia.safe.com/articles/Error_Unexpected_Behavior/Dataset-Fanout-doesn-t-work-for-Services

 


mhab
Contributor
Forum|alt.badge.img+10
  • Author
  • Contributor
  • December 21, 2012
Hi Sig

 

 

Thanks for the hint. This should solve my problem.

 

 

Additional question is, if I can specify the FME_WORKING_DIR in some way if I use the FMEServerConsole to run the workspace.

 

 

Background: Most of my workspaces are used in both FME-Desktop and FME-Server environment and I am reluctant to publish a parameter FME_SERVER_DEST_DIR and then use the workspace in a desktop enviroment ?!

 

 


sigtill
Supporter
Forum|alt.badge.img+25
  • Supporter
  • December 21, 2012
I have used Scripted Parameters to successfully have a workspace seamlessly run on both Desktop and Server without needing to change anything on the Published Parameters.

 

 

http://evangelism.safe.com/fmeevangelist72/