• FTP (File Transfer Protocol) and TFTP (Trivial File Transfer Protocol) are two protocols used by network devices to transfer files across the network. You’ll often need them when working with routers and switches. They’re useful for tasks like configuration backups, IOS upgrades, and restoring systems after maintenance.

    FTP client connecting to the server to request its configuration file

    Figure 1 – The FTP client connects to the server to request its startup-config

    In a typical scenario, the client connects to the FTP server and requests a specific file, such as the startup configuration. This type of communication allows network devices to retrieve or store configuration files as part of regular maintenance tasks.

    FTP server sending the startup configuration file to the client over TCP port 20

    Figure 2 – The FTP server sends the startup configuration file to the client.

    After receiving the request, the server sends the file to the client. This demonstrates the client–server communication model that both FTP and TFTP follow. In Cisco networks, these protocols are commonly used for IOS upgrades or when restoring configurations from backups.

    The Client-Server Model

    Both FTP and TFTP operate using a client–server model.
    The server stores the files. The client, which can be a router, switch, or admin workstation, connects to download or upload them.

    ftp and tftp server in networking

    Figure 3 – FTP and TFTP client–server model.

    This model centralizes file management and makes network maintenance much easier.
    Instead of configuring each device individually, you can perform updates and backups from a single location.
    That saves time and ensures consistency across the network.

    In both FTP and TFTP, the client can upload (send) or download (receive) files from the server, depending on the command used. For example, a router might upload its running configuration to a TFTP server or download a new IOS image during an upgrade.

    Overview of FTP and TFTP

    Although both protocols aim to transfer files between devices, they differ in reliability and control.

    • FTP uses TCP, which guarantees reliable delivery and supports authentication with usernames and passwords.

    • TFTP uses UDP, which is faster and simpler, but does not include authentication or encryption.

    Both are effective in their own contexts.
    Use FTP when you need reliability and user control, and TFTP when you need quick transfers in a trusted environment.

    Now that you understand their general purpose, let’s explore how FTP works in practice.

    Answer the question below

    Which protocol uses TCP and supports authentication?