57
FTP and SFTP Configuration
Wh n configuring FTP a
e
nd SFTP, go to these sections for information you are interested in:
nd SFTP
Introduction to FTP a
z
FTP Configuration
z
SFTP Configuration
z
Introduction to FTP and SFTP
Introd
, files are transferred through command lines, and the most popular
s used for file transfer between remote server and local client.
transfer respectively. Basic FTP
ration
ed in the following two modes:
z
ASCII mode for text file transfer
r in FTP-employed data transmission:
Table 57
s that a 3com switch 4500 a
uction to FTP
File Transfer Protocol (FTP) is commonly used in IP-based networks to transmit files. Before World
Wide Web comes into being
application is FTP. At present, although E-mail and Web are the usual methods for file transmission,
FTP still has its strongholds.
As an application layer protocol, FTP i
FTP uses TCP ports 20 and 21 for data transfer and control command
ope
s are described in RFC 959.
FTP-based file transmission is perform
z
Binary mode for program file transfer
A 3com switch 4500 can act as an FTP client or the FTP serve
-1
Role
cts as in FTP
Item
Description
Remarks
FTP server
n FTP server by
ess
An Ethernet switch can operate as an FTP server to
provide file transmission services for FTP clients. You
can log in to a switch operating as a
running an FTP client program on your PC to acc
files on the FTP server.
FTP client
can operate as an FTP
client, through which you can access files on the FTP
server.
xists
between the switch
and the PC.
The prerequisite is
that a route e
In this case, you need to establish a connection
between your PC and the switch through a terminal
emulation program or Telnet, execute the
ftp
X.X.X.X
command on your PC. (X.X.X.X is the IP address of an
FTP server or a host name), and enter your user name
and password in turn. A switch
z
With a 3com switch 4500 serving as an FTP server, the seven-segment digital LED on the front
panel of the switch rotates clockwise when an FTP client is uploading files to the FTP server (the
3com switch 4500), and stops rotating when the file uploading is finished, as shown in
Figure 57-1
.
With a 3com switch 4500 serving as an FTP client, the seven-segment digital LED on the front
panel of the s
z
witch rotates clockwise when the FTP client (the 3com switch 4500) is downloading
57-1