177
Appendix VI
Command Line Syntax
UPDATE USER PROGRAM
Program update is allowed via DoFTP() when a user program (.bin) is properly specified
in the script file. Upon completion of executing DoFTP(), it will automatically update the
program.
Format
The line must be as shown below:
rFile=~<Local file name>,<Remote file name>,<version control>,<Mandatory>
For example,
rFile=~CipherAP,NewAP,0,
/* Save to SRAM, local file name is case-sensitive */
rFile=~A:/FTP/user.bin,NewAP,0,
/* Local file name is NOT case-sensitive */
On the right of the equal sign, it consists of
The character “~”.
A file name, which is case-sensitive and can be made up of 8 characters at most, with file
extension included. For example, “CipherAP” and “User.bin” are considered acceptable.
Version control; however, it will be ignored.
SWITCH TO A DIFFERENT SERVER
The “SWITCH” command is supported for immediate switching to a different server
specified in the new script file. This line must be run after the connection settings and
“UpdateScript”.
Format
The line must be “SWITCH”, all in uppercase.
When new script file is available, it will first update the script file, and then compare
whether the connection settings between the original script and the update are the same.
When server IP or username is found different, it will disconnect the current
connection immediately, and use the updated connection settings to establish a new
connection.
In the new connection, the “UpdateScript” line will not be executed until it connects
to the new server in the next connection.
If it fails to execute the “SWITCH” command, it will stop executing the rest of lines
after “SWITCH”.
If there is more than one “SWITCH” line, only the first one will be executed.