12-112 FTP ConfigurationWhen configuring FTP, go to these sections for information you are interested in:z FTP Overviewz Configuring the FTP Clientz Configuring the FTP Serverz Displaying and Maintaining FTPFTP OverviewIntroduction to FTPThe File Transfer Protocol (FTP) is an application layer protocol for sharing files between server andclient 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 transmitcontrol commands. Refer to RFC 959 for details of FTP basic operation.FTP transfers files in two modes:z Binary mode for program file transmission, like files with the suffixes .app, .bin, or .btm.z ASCII mode for text file transmission, like files with the suffixes .txt, .bat, or .cfg.Operation of FTPFTP adopts the client/server model. Your device can function either as the client or as the server (asshown in Figure 12-1).z When the device serves as the FTP client, the user first connects to the device from a PC throughTelnet or an emulation program, and then executes the ftp command to establish a connection tothe remote FTP server and gain access to the files on the server.z When the device serves as the FTP server, FTP clients (users running the FTP client program) login to the device to access files on the device (the administrator must configure the IP address ofthe device as the FTP server IP address before user login).Figure 12-1 Network diagram for FTPWhen the device serves as the FTP client, you need to perform the following configuration: