Configuring ftp, Hardware compatibility, Overview – H3C Technologies H3C SecBlade LB Cards User Manual
Page 95: Using the device as an ftp client
86
Configuring FTP
FTP can be configured only at the CLI.
Hardware compatibility
The following matrix shows the storage media on different LB products:
Product Storage medium
L1000-A Flash
LB module
CF card
Overview
File Transfer Protocol (FTP) is an application layer protocol based on the client/server model. It is used to
transfer files from one host to another over a TCP/IP network.
FTP server uses TCP port 20 to transfer data and TCP port 21 to transfer control commands. For more
information about FTP, see RFC 959.
FTP supports the following transfer modes:
•
Binary mode—Used to transfer image files, such as .app, .bin, and .btm files.
•
ASCII mode—Used to transfer text files, such as .txt, .bat, and .cfg files.
FTP can operate in either of the following modes:
•
Active mode (PORT)—The FTP server initiates the TCP connection. This mode is not suitable when
the FTP client is behind a firewall, for example, when the FTP client resides in a private network.
•
Passive mode (PASV)—The FTP client initiates the TCP connection. This mode is not suitable when
the server does not allow the client to use a random unprivileged port greater than 1024.
The device can act as the FTP client or FTP server.
Figure 32 FTP application scenario
Using the device as an FTP client
To connect to an FTP server or enter FTP client view, make sure the following requirements are met:
•
You have level-3 (Manage) user privileges on the device. In FTP client view, whether a directory or
file management command can be successfully executed depends on the authorization set on the
FTP server.