WinCEGeräte_Handbuch_Administration_v2 00_en
55 / 84
2.7.2 FTP (Windows CE device as client)
In addition to the FTP server service, the FTPSimple program provides an FTP client to access remote FTP
servers from the device. The FTPsimple program uses FTPlib.dll, a proprietary ACD library that provides
programmers with a simple API to create their own FTP client programs.
The API is described in the FTPLib_Programming API document.
FTPsimple is a console program. It is more difficult to use than a Windows application as the screen
keyboard (Software Input Panel) must be used to enter commands.
FTPsimple is not primarily intended for manual operation, it is used instead for executing FTP script files that
are loaded on the device or created with WordPad on the device.
A script file must be saved in ANSI format and can contain any number of FTP command sequences for
uploading or downloading. To run the script file, FTPsimple can transfer the script file in the command line
(batch) or execute the "script" command in the console window.
The script is ended as soon as an error occurs, the error message is displayed and the device waits for a
manual command.
FTP scripts must be assigned with the file extension .ftp.
This file extension is linked to the FTPsimple program on Windows CE devices to allow scripts to run as
easily as possible. To run a script file, simply double-tap the script file in an Explorer window.
FTPsimple also includes a set of standard as well as ACD proprietary commands. Click the "help" command
in the console window to display the list of commands. When errors are shown, their error number and error
text are usually displayed as well. If the error number is negative, it is an application error message.
Otherwise, it is a system error message.
Command line
parameters
Description
-? /? -h /h
Prompts the help for other parameters.
-sServer
The name or IP address of the FTP server is entered behind –s.
-uUser
The user name configured in the FTP server is entered behind –u.
-pPassword
The user password is entered behind –p.
-cScript file
The name including the absolute path of the FTP script file is entered
behind –c.
More detailed information is available in the FTPSimple_SoftwareDoku document.