User's Manual

ProgrammingChapter 7
243700 Series Color Mobile Computer User’s Manual
SITE
The following extended OEM commands are supported by the SITE request. For Microsoft FTP cli-
ents, you can send site commands by preceding the command with “quote” such as “quote site s tatus.”
ATTRIB Gets or 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.
Clears an attribute.
R Read-only file attribute.
A Archive file attribute.
S System file attribute.
H Hidden file attribute.
To retrieve the attributes of a file, only specify the file. The se rver res ponse 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 defined:
C Compressed file attribute.
E Encrypted file attribute.
I INROM file attribute.
X XIPfileattribute(executeinROM,notshadowedinRAM).
BOOT Reboots the serve r OS. This will cau se th e s yste m on which the s erver is execu ting to
reboot. The FTP Server will shut down cleanly before reboot. All client connections
will be terminated. Cold boot is default except 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 Exits the FTP Server. This command will shut down the FTP Server thus termina-
ting all client 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 S tarts a program running. If t he program to run has s paces in path or filename,
wrappingthenamewithsinglequotesisrequired.
Usage: QUOTE SITE RUN [program]
Example: QUOTE SITE RUN ‘\Storage Card\app.exe’