WU-FTPD 2.6.1 Release Notes (5900-2465, September 2012)

export FTP_SSL_CERT_FILE=/home/user1/certificate.pem
export FTP_SSL_KEYT_FILE=/home/user1/private-key.pem
Using Command-Line Options
To start the FTP client using command-line options, run the following command:
ftp -z CAfile=/etc/ftpd/security/ca.pem -z
cert=/home/user1/certificate.pem -z
key=/home/user1/private-key.pem <server-name>
Using the Configuration File
To start the FTP client using a configuration file, run the following command:
ftp -z config=<config-file> <server-name>
where:
config-file Specifies the name of the configuration file.
server-name Specifies the name of the server to which date must be transferred.
5. Start the FTP client to initiate a secured file transfer to the FTP server system.
Following is a sample output when the FTP client connects to the FTP server:
client:/tmp>ftp server-machine
Connected to server-machine.
220 server-machine FTP server (Revision 1.1 Version wuftpd-2.6.1
(PHNE_36065) Fri May 30
15:30:32 GMT 2008) ready.
234 AUTH TLS OK.
[TLSv1/SSLv3, cipher DHE-RSA-AES256-SHA, 256 bits]
Name (server-machine:root): abc
232 User abc auto-logged in.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> prot on
200 PROT P ok.
TLS/SSL protection of data connections on.
ftp> ls
200 PORT command successful.
150 Opening ASCII mode private data connection for /usr/bin/ls.
total 96
-rw-r--r-- 1 abc users 23 May 30 14:01 end.txt
-rw-rw-rw- 1 abc users 13 May 25 14:57 start.txt
226 Transfer complete.
ftp> get end.txt
200 PORT command successful.
150 Opening BINARY mode private data connection for end.txt (23 bytes).
226 Transfer complete.
23 bytes received in 0.07 seconds (0.33 Kbytes/s)
ftp> by
221-You have transferred 23 bytes in 1 files.
221-Total traffic for this session was 1108 bytes in 2 transfers.
221-Thank you for using the FTP service on charokee.ind.hp.com.
221 Goodbye.
client-machine:/tmp>
Virtual FTP support
Virtual FTP support enables you to manage an FTP server for multiple domains on the same machine.
Virtual FTP allows an administrator to configure a system to display a different banner, log file,
and directory to a user when the user is connected to different domains on the same system. The
advantage of virtual FTP support is that the identity of the machine is hidden. Additionally, this
feature enables a single machine to act as multiple FTP servers for multiple domains.
Figure 1 shows a graphical representation of an FTP server, ftp.domain.com, hosting two virtual
domains, ftp.animals.com and ftp.flowers.com.
WU-FTPD 2.6.1 features 15