3Com Switch 7750 Configuration Guide

74
FTP AND TFTP CONFIGURATION
FTP Configuration
Introduction to FTP FTP (file transfer protocol) is commonly used in IP-based networks to transmit files.
Before World Wide Web comes into being, files are transferred through command
lines, and the most popular 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 is used for file transfer between remote server
and local host. TCP port 21 is used for control connections, and port 20 is used for
data connections. Basic FTP operations are described in RFC 959.
FTP-based file transmission is performed in the following two modes:
Binary mode, which is used for program file transfer.
ASCII mode, which is used for text file transfer.
An Ethernet switch can act as an FTP client or an FTP server in an FTP
implementation.
FTP server
An Ethernet switch can operate as an FTP server to provide file transmission
services for FTP clients. You can log into a switch operating as an FTP server by
running an FTP client program on your PC to access the files on the FTP server. To
accept login requests, an FTP server must be assigned an IP address.
Table 637 describes the configurations needed when a switch operates as an FTP
server.
Table 637 Configurations needed when a switch operates as an FTP server
Device Configuration Default Description
Switch Enable the FTP server
function
The FTP server
function is disabled
by default
You can run the
display ftp-server
command to view the
FTP server configuration
on the switch.
Perform
authentication-/auth
orization-related
configuration
By default, FTP server
logon authentication
and authorization are
not configured.
Configure user names,
passwords, and the
work directory.
Configure the
connection idle time
The default idle time
is 30 minutes.
-