Call OS Level Commands On FileMaker Server From A Script

How to call an OS level command (like command line exe) on a FileMaker Server by script from a FileMaker Pro client.

This is different than the native "Execute Script On Server" step in FileMaker, which can only be used to execute another FileMaker script. Instead this involves executing an OS level command – the kind of thing you would normally have to do via the command line, which in turn requires command line access to the server.

Charles Delfs of Delfs Engineering, a FileMaker consultancy, has shared a solution that uses a simple PHP helper file that acts as a command proxy between your Filemaker Script and the Server OS command line. As long as you have an authorize token key this will allow you to execute OS level commands by FileMaker script without direct access to the server command line.