1-11 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: transfers files as raw data, like .app, .bin, and .btm files.z ASCII mode: transfers files as text, like .txt, .bat, and .cfg files.Operation of FTPFTP adopts the client/server model. Your device can function either as the client or as the server (asshown in Figure 1-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 of thedevice as the FTP server IP address before user login).Figure 1-1 Network diagram for FTPWhen the device serves as the FTP client, you need to perform the following configuration: