Ftp Configuration; Ftp Overview - H3C S5120-EI Series Operation Manual

Ethernet switches
Hide thumbs Also See for S5120-EI Series:
Table of Contents

Advertisement

2

FTP Configuration

When configuring FTP, go to these sections for information you are interested in:

FTP Overview

Configuring the FTP Client
Configuring the FTP Server
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:
Binary mode for program file transmission, like files with the suffixes .app, .bin, or .btm.
ASCII mode for text file transmission, like files with the suffixes .txt, .bat, or .cfg.
Operation of FTP
FTP adopts the client/server model. Your device can function either as the client or as the server (as
shown in
Figure
When the device serves as the FTP client, the user first connects to the device from a PC through
Telnet or an emulation program, and then executes the ftp command to establish a connection to
the remote FTP server and gain access to the files on the server.
When the device serves as the FTP server, FTP clients (users running the FTP client program) log
in to the device to access files on the device (the administrator must configure the IP address of the
device as the FTP server IP address before user login).
Figure 2-1 Network diagram for FTP
When the device serves as the FTP client, you need to perform the following configuration:
2-1).
2-1

Advertisement

Table of Contents
loading

Table of Contents