8.4.9 FTP Directives

Data will be sent to the host using the FTP protocol.

A FTP server must be running on the host side.

If no ftp.user or ftp.password properties are available then an authentication dialog is displayed with blank fields.

If ftp.user=*prompt or ftp.password=*prompt then an authentication dialog is displayed with blank fields.

If ftp.user=remoteuser then an authentication dialog is displayed with remoteuser in the user field.

If ftp.user=remoteuser and ftp.password=passphrase then no authentication dialog is displayed.

Keyword

Comments

ftp.name

Description name displayed in the User Agent's Send message box.

ftp.host

URL of the FTP server.
Example: ftp://server1:21

ftp.user

Logon user or *prompt.

ftp.password

Logon password or *prompt.

ftp.directory

The FTP server directory that will receive the uploaded file.
A trailing slash must be present.
The filename is the same as the source filename.
Example: /upload/

ftp.path

The FTP server file that will be downloaded when using the get method.
The FTP server file that will receive the uploaded file when using the put method. This allows a fixed filename to be used for the receive file.
Example: /upload/fixedname.txt

ftp.type

Transfer type. *BINARY or *ASCII
Default. *BINARY.

ftp.mode

Data channel mode. *PASSIVE or *PORT.
Default: *PASSIVE.

ftp.method

Get or put a file. The default is to put a file.
GET
PUT