175
Appendix VI
Command Line Syntax
VERSION CONTROL
Version control only takes effect when the following two conditions are satisfied:
The mobile compueter has started an FTP session via DoFTP() over network.
The script line must start with “rFile=” or “UpdateScript”.
Version Control
Description
0 Disable version control
For the lines starting with “tFile=”, version control must be set to 0.
1 Enable version control
Checks the local file information against the remote file information.
For the lines starting with “rFile=”, if no existing file is found or the file is
not recorded in the file RCVList on the mobile computer, the version control
is ignored and the specified files are received.
For the lines starting with “UpdateScript”, if no existing script file is found
on the mobile computer, version control is ignored and the specified files
are received.
-1
rFile:
Deletes files from the mobile computer
For the lines starting with “rFile=” only. Any specified remote file name
will be ignored.
The entry saved in the file RCVList will be modified:
from YYYYMMDDhhmmss<file name>YYYYMMDDhhmmss(0x0d)
to YYYYMMDDhhmmss<file name>00000000000000(0x0d)
tFile:
Deletes files from the FTP server
any specified local file name will be ignored.
-2
Renames the files on the FTP server
For the lines starting with “tFile=” only.
MANDATORY FLAG
The flag is used to set a breakpoint. While running script, it may stop at a line with such
flag if it fails to transmit or receive the file. For example,
UpdateScript,1,M
tFile=Test.txt,SvrTest.txt,0,M