New Remote Command Line Utility commands
The Remote Command Line Utility (using the Java class se.entra.phantom.radmin.ServerCommand) has been extended with 4 new commands:
The commands PUT and PUTR have the following syntax: PUT[R] destination filespec1 filespec2 ... filespecNN The PUT command will transfer the filespec files from to the destination directory on the server. The wild card characters à-la-Windows (*?^) are supported. The difference between PUT and PUTR is that PUT operates on file basis, whereas PUTR operates on file basis recursively, including subdirectories in filespec. Example: The command UPGRADE has the following syntax: UPGRADE patchFileName The UPGRADE command will transfer the patchFileName file to the server directory to the file "upgrade.jar" and mark the server process that it can be upgraded (this will be performed at the next server restart using "Hard Java VM restart". The patch file name should be "patchXXXXtoYYYY.jar" or "preinstall.jar". Once the patch file is transferred, use the RESTART command below to complete the server upgrade process (note that the "Hard Java VM restart" option is sometimes unavailable, e.g. when running the server as a Windows Service NetPhantomServerWindowsNTService.exe). The command UPGRADE has the following syntax: RESTART [SOFT | HARD | HARDJVM] [*IMMED] The restart of the server can be Soft, Hard or Hard Java VM restart, with the option to perform this immediately or deferred (i.e. when all users have closed their sessions). |