beautypg.com

57 ftp configuration, Ftp overview, Introduction to ftp – H3C Technologies H3C WX6000 Series Access Controllers User Manual

Page 530: Implementation of ftp, 1 implementation of ftp, Ftp configuration

background image

57-1

57

FTP Configuration

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

z

FTP Overview

z

Configuring the FTP Client

z

Configuring the FTP Server

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 transmits files in two modes:

z

Binary mode for program file transmission

z

ASCII mode for text file transmission

Implementation of FTP

FTP adopts the server/client model. Your switch can function either as client or as server (as shown in

Figure 57-1

). They work in the following way:

z

When the switch serves as the FTP client, a PC user first telnets or connects to the switch through
an emulation program, then executes the ftp command to establish the connection to the remote
FTP server, and gain access to the files on the server. If the remote FTP server supports
anonymous FTP, the device can log onto it directly; if not, the device must obtain FTP username
and password first to log onto the remote FTP server.

z

When the switch serves as the FTP server, it must be configured with an IP address so that a user
running FTP client program can access it. For the sake of security, the switch does not support
anonymous FTP. Therefore, you must use an authenticated username and password. By default,
authenticated users can access the root directory of the switch.

Figure 57-1

Network diagram for FTP