Ftp Configuration; Ftp Overview; Introduction To Ftp; Operation Of Ftp - HP 5120 series Configuration Manual

Gigabit ethernet switches
Table of Contents

Advertisement

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. For more information about FTP basic operations, see RFC 959.
FTP transfers files in the following 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 the server (as shown
in
Figure
26).
When the device serves as the FTP client, use Telnet or an emulation program to log in to the device
from the PC, execute the ftp command to establish a connection from the device (FTP client) to the
PC (FTP server), and then upload/download files to/from the server.
When the device serves as the FTP server, 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 26 Network diagram for FTP
When the device serves as the FTP client, you need to perform the following configuration:
83

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents