ProgrammingChapter —7
246 700Series Color MobileComputer User’s Manual
SITE The following extended OEM commands are supporte db yth e SITE request. For Microsoft FTP cli -
ents, you can send site commandsby preceding the command with “quote” such as “quote site status .”
ATTRIB Getsor sets the attributes of a given file. (SITE ATTRIB)
Usage QUOTE SITE ATTRIB [+R |-R][+A|-A ][+S|-S][+H|-H][[path]
filename]
+Sets an attribute.
–Clearsan attribute.
RRead-onlyfile attribute.
AArchivefile attribute.
SSystemfile attribute.
HHiddenfile attribute.
Toretrieve the attributes of a file, only specify the file. The server response will be:
200-AD SHRCEIX filename
If the flag exists in its position shown above, it is set. Also, in addition to the values
defined above, there is also defi ned:
CCompressedfile attribute.
EEncryptedfile attribute .
IINROMfile attribute.
XXIPfileattribute(executeinROM,notshadowedinRAM).
BOOT Reboots the server OS. This will cause the system on which the server is executing to
reboot. The FTP Server will shut down cleanly before r eboot. All client connections
will be terminated. Cold boot is default ex cept for the PocketPC build in which the
default is warm boot. (SITE BOOT)
Usage: QUOTE SITE BOOT [WARM |COLD]
COPY Copies a file from one location to another. (SITE COPY)
Usage: QUOTE SITE COPY [source][destination]
Example: QUOTE SITE COPY ‘\Storage Card\one.dat’ ‘\Stor-
age Card\two.dat’
EXIT Exitsthe FTP Server. This command will shut down the FTP Server thus termina-
ting allc lient connections. (SITE EXIT)
Usage: QUOTE SITE EXIT
HELP Gives site command help information.(SITE HELP)
Usage: QUOTE SITE HELP [command]
KILL Terminates a running program. (SITE KILL)
Usage: QUOTE SITE KILL [program |pid]
LOG Opens or closes the program log. (SITE LOG)
Usage: QUOTE SITE LOG [open [filename]| close]
PLIST Lists the running processes (SITE PLIST)
Usage: QUOTE SITE PLIST
RUN Startsa program running. If the program to run has spaces in path or filename,
wrappingthenamewithsinglequotesisrequired.
Usage: QUOTE SITE RUN [program]
Example: QUOTE SITE RUN ‘\Storage Card\app.exe’