992 CHAPTER 80: FTP CONFIGURATION
c
CAUTION:
■ The FTP function is available when a route exists between the FTP server and 
the FTP client.
■ When a device serving as the FTP server logs onto the device using IE, some IE 
functions are not supported because multiple user connections are established, 
and the device supports only one connection currently.
Configuring the FTP 
Client
Establishing an FTP
Connection
To access an FTP server, the FTP client must connect with it. Two ways are available 
for the connection: using the ftp command to establish the connection directly; 
using the open command in FTP client view.
Multiple routes may exist for the FTP client to successfully access the FTP server. 
You can specify one by configuring the source address of the packets of the FTP 
client to meet the requirement of the security policy of the FTP client. You can 
configure the source address by configuring the source interface or source IP 
address. The primary IP address configured on the source interface is the source 
address of the transmitted packets. The source address of the transmitted packets 
is selected following these rules:
■ If no source address of the FTP client is specified, a device uses the IP address of 
the interface determined by the routing protocol as the source IP address to 
communicate with an FTP server.
■ If the source address is specified with the ftp client source or ftp command, 
this source address is used to communicate with an FTP server.
■ If the source address is specified with the ftp client source command and 
then with the ftp command, the address specified with the latter one is used 
to communicate with an FTP server.
The source address specified with the ftp client source command is valid for all 
ftp connections and the source address specified with the ftp command is valid 
only for the current FTP connection.
Follow these steps to establish an FTP connection (In IPv4 networking):
To do…  Use the command…  Remarks 
Enter system view  system-view - 
Configure the source 
address of the FTP client 
ftp client source { interface 
interface-type interface-number | 
ip source-ip-address } 
Optional
A device uses the IP address 
of the interface determined 
by the routing protocol as the 
source IP address to 
communicate with the FTP 
server by default. 
Exit to system view  quit -