This is possible, but some parts of this scenario have to be custom-implemented (this is not a primary purpose of Rebex File Server).
To make this work, you have to register a custom command using
ShellCommand event and use the command's
GetInputStream() (corresponds to
SshConsole.GetOutputStream() (corresponds to
stdout) and SshConsole.GetErrorStream() (corresponds to
http://forum.rebex.net/6863/ssh-exec-program to pass data to/from an external process.
We have sample code that demonstrates running an external command line app. However, this would have to be modified slightly to target Compact 2013 because it utilizes .NET 4.0's
Task class to run background methods to pass data between Rebex File Server and the external app.