SRVNAME        Define service name and control interaction with Monitor

<< Click to Display Table of Contents >>

Navigation:  Robo-FTP User's Guide > Script Programming > Script Commands > All Script Commands >

SRVNAME        Define service name and control interaction with Monitor

Syntax:

SRVNAME

[ name ]  |  [ /options ]

Arguments:

[ path ]

Optional variable or string defining the service name of this Robo-FTP instance for identification by the Monitor applet.

Options:

/launch

Launch Monitor after defining a service name.

 

/off

Turn monitoring off.

 

This command defines the name of the current Robo-FTP session so that it can be identified when Monitor (a Windows desktop tray applet) is started. This command is provided as an alternative to the -t command line switch.

 

Monitor is a separate utility permitting running Robo-FTP session(s) to be monitored by any user when Robo-FTP has been launched as a Windows service or when it is otherwise running hidden in the background. See Monitoring a Robo-FTP Service for more information.

 

If Robo-FTP has been installed a Windows service by Service Installer then use of this command is not necessary unless you wish to disable monitoring via the /off option. When launched by Service Installer, the identification string used by Monitor is set to the service name specified when the service is created.

 

The following command defines a service name and enables Robo-FTP interaction with Monitor. The name specified will appear in Monitor windows and/or menus to identify this instance of Robo-FTP.

 

SRVNAME "MyRobo-FTP"

 

The following command defines a service name and automatically launches Monitor. This option is not allowed if Robo-FTP is running as a Windows service.

 

SRVNAME "MyRobo-FTP" /launch

 

The following command disables Robo-FTP interaction with Monitor. Interaction may be restored by (re)issuing the previous command.

 

SRVNAME /off

 

 

Related command(s): DASHBOARDMSG

See also: Monitor, Installing Robo-FTP as a Service, Creating Dashboard Services