Skip to main content
Question

FME-Server/Engine: Output directory

  • December 21, 2012
  • 3 replies
  • 25 views

mhab
Contributor
Forum|alt.badge.img+10
  • Contributor
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

3 replies

sigtill
Supporter
Forum|alt.badge.img+24
  • 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+24
  • 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/

 


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings