WinCEGeräteSE_Handbuch_Programmierung_v3.00_EN
59 / 65
To execute FTP scripts with a double-tap on the touchscreen, the scripts should be assigned with the file
extension .ftp. On ACD Windows CE devices, this extension is linked with the program FTPsimple.
FTPsimple contains a collection of the known FTP set of commands. Other special commands have been
added which support the specific application of the device. Open the help command in the console window
to display the list of commands. An error is usually reported with an error number and an error text. If the
error number is negative, it is a proprietary FTPSimple error message, otherwise it belongs to the Windows
Systems.
Command line
parameters
Description
-? /? -h /h
Activates the help function for other parameters.
-sServer
Behind –s enter the name or IP address of the FTP server without
a space character.
-uUser
Behind –u enter the user name (without a space character) that was
configured in the FTP server.
-pPassword
Behind –p enter the user password without a space character.
-cScript file
Behind –c enter the name including the absolute path of the FTP script
file without a space character.
Table 13 – FTPsimple command line parameters
Do not call FTPSimple in a batch but run with the START command.
Examples include:
START FTPSimple.exe -s123.123.123.123 –uanonymous –pxyz -c\Flashdisk\System\x.ftp
START FTPSimple.exe -sserversname –uanonymous –pxyz -c”\Flashdisk\System\x y z.ftp”
The reason is that the FTPSimple console window would otherwise be hidden by another console window (of
the batch that has not yet finished).
Server, user and password can be defined in the FTP script with the open command. Remember though that
this data can then be viewed by others!
Note
In FTPsimple, files are always transferred in binary mode.