Solved

How to publish a workspace to a FME Server through command line?

  • 27 July 2017
  • 1 reply
  • 12 views

Badge

Hi,

I have multiple workspace files and publishing them to our FME Server is demanding too much time. Is it possible to published them through the command line or python? If so, how?

Thanks

icon

Best answer by david_r 27 July 2017, 17:08

View original

1 reply

Userlevel 4

You can use the FME Server REST API to publish workspaces, there's an example under the heading "Publishing a workspace to a repository" here: http://playground.fmeserver.com/using-the-rest-api/workspaces/

You can use either the HTTPCaller or a Python script to access the API.

(If you go the Python route, I'd heartily recommend using the requests module, it is amazing for working with REST interfaces)

Reply