From a client, you can't execute programs that are on the server. If this was possible, it would be a security hole.
From the client, you send informations to the server, which reads it and takes some action. Depending on the design of he server program, it might take different actions in response to the information received - or it might not.
Bottom line: A program must be running in the client, and another progrm must be running in the server.