6 ftp configuration, Ftp overview, Introduction to ftp – H3C Technologies H3C S7500E Series Switches User Manual
Page 97: Operation of ftp, Ftp configuration
6-1
6
FTP Configuration
When configuring FTP, go to these sections for information you are interested in:
z
z
z
z
Displaying and Maintaining FTP
FTP Overview
Introduction to FTP
The File Transfer Protocol (FTP) is an application layer protocol for sharing files between server and
client over a TCP/IP network.
FTP uses TCP ports 20 and 21 for file transfer. Port 20 is used to transmit data, and port 21 to transmit
control commands. Refer to RFC 959 for details of FTP basic operation.
FTP transfers files in two modes:
z
Binary mode: transfers files as raw data, like .app, .bin, and .btm files.
z
ASCII mode: transfers files as text, like .txt, .bat, and .cfg files.
Operation of FTP
FTP adopts the client/server model. Your device can function either as the client or as the server (as
shown in
z
When the device serves as the FTP client and the PC serves as the FTP server, execute the ftp
command on the device to establish a connection to the FTP server and upload/download files
to/from the server.
z
When the device serves as the FTP server and the PC serves as the FTP client, run the FTP
client program on the PC to establish a connection to the FTP server and upload/download files
to/from the server.
Figure 6-1 Network diagram for FTP
When the device serves as the FTP client, you need to perform the following configuration: