Skip to main content
Question

FME-Server/Engine: Output directory

  • 21 December 2012
  • 3 replies
  • 19 views

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

 


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 ?!

 

 


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