Remote control of GoServe


GoServe filters (see "Filter programs") can request that GoServe perform certain actions, instead of just returning files or other data. These requests may be used to control GoServe remotely (from another machine or from another process on the same machine). Control requests can return a document containing one or more response lines, either showing successful completion of the request or indicating an error.

Specifically, if the CONTROL command is used without the VAR option (either from within the filter program or by being returned by the filter) then the command action is performed and the result string is returned to the client as a document.

The sample filters include examples of using control commands initiated from standard menus or documents; these actions can be triggered remotely using a Gopher or Web client, as appropriate. Rexx programs can also use the OS/2 TCP/IP RxSock library (included in the UN64092 CSD, August 1994) to send a specific request to a GoServe server. A sample command, MOVEAUD.CMD, is included in the GoServe package as an indication of how this is used.

The filter mechanism provides flexibility in how control requests are accepted and passed to GoServe, including the possibility of modification so that only clients with certain addresses would be able to use these options. The sample Web filter includes an example of how this might be done.


[ previous section | GoServe | next section ]

From 'goserve.doc', version 2.00.
Copyright © International Business Machines Corporation, 1993, 1995.
All rights reserved.