Ftp configuration, Ftp overview, Introduction to ftp – H3C Technologies H3C SecPath F1000-E User Manual

Page 131: Operation of ftp

Advertising
background image

1

FTP Configuration

This chapter includes these sections:

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: transfers files as raw data, like .app, .bin, and .btm files.

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

Figure 1

).

When the device serves as the FTP client, a user can telnet to it from a PC, and then execute the ftp

command to establish a connection to the remote FTP server on the PC to upload/download files

to/from the PC.

When the device serves as the FTP server, a user can FTP to the device from a PC that runs the FTP
client and upload/download files to/from the device.

Figure 1 Network diagram for FTP


When the device serves as the FTP client, you need to perform the following configuration:

Advertising
This manual is related to the following products: