1-11 FTP and SFTP ConfigurationWhen configuring FTP and SFTP, go to these sections for information you are interested in:z Introduction to FTP and SFTPz FTP Configurationz SFTP ConfigurationFTP banner is newly added. For details, see section Configuring the banner for an FTP server.Introduction to FTP and SFTPIntroduction to FTPFile Transfer Protocol (FTP) is commonly used in IP-based networks to transmit files. Before WorldWide Web comes into being, files are transferred through command lines, and the most popularapplication 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 client.FTP uses TCP ports 20 and 21 for data transfer and control command transfer respectively. Basic FTPoperations 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 S5600 series Ethernet switch can act as an FTP client or the FTP server in FTP-employed datatransmission:Table 1-1 Roles that an H3C S5600 series Ethernet switch acts as in FTPItem Description RemarksFTP serverAn Ethernet switch can operate as an FTP server to provide filetransmission services for FTP clients. You can log in to a switchoperating as an FTP server by running an FTP client program on yourPC to access files on the FTP server.FTP clientIn this case, you need to establish a connection between your PC andthe switch through a terminal emulation program or Telnet, execute theftp X.X.X.X command on your PC. (X.X.X.X is the IP address of an FTPserver or a host name), and enter your user name and password inturn. A switch can operate as an FTP client, through which you canaccess files on the FTP server.Theprerequisiteis that aroute existsbetweenthe switchand the PC.