Operation Manual – FTP-SFTP-TFTPH3C S3100 Series Ethernet Switches Chapter 1 FTP and SFTP Configuration1-1Chapter 1 FTP and SFTP Configuration1.1 Introduction to FTP and SFTP1.1.1 Introduction to FTPFTP (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 theusual methods for file transmission, FTP still has its strongholds.As an application layer protocol, FTP is used for file transfer between remote serverand local client. FTP uses TCP ports 20 and 21 for data transfer and control commandtransfer respectively. Basic FTP operations are described in RFC 959.FTP-based file transmission is performed in the following two modes:z Binary mode for program file transferz ASCII mode for text file transferAn H3C S3100 series Ethernet switch can act as an FTP client or the FTP server inFTP-employed data transmission:Table 1-1 Roles that an H3C S3100 series Ethernet switch acts as in FTPItem Description RemarksFTP serverAn Ethernet switch can operate as an FTPserver to provide file transmission servicesfor FTP clients. You can log in to a switchoperating as an FTP server by running anFTP client program on your PC to accessfiles on the FTP server.FTP clientIn this case, you need to establish aconnection between your PC and the switchthrough a terminal emulation program orTelnet, execute the ftp X.X.X.X commandon your PC. (X.X.X.X is the IP address of anFTP server or a host name), and enter youruser name and password in turn. A switchcan operate as an FTP client, throughwhich you can access files on the FTPserver.The prerequisite isthat a route existsbetween the switchand the PC.1.1.2 Introduction to SFTPSecure FTP (SFTP) is established based on an SSH2 connection. It allows a remoteuser to log in to a switch to manage and transmit files, providing a securer guarantee for