> For the complete documentation index, see [llms.txt](https://kryptocoder.gitbook.io/hacking-knowledge/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://kryptocoder.gitbook.io/hacking-knowledge/networks-wip/protocols/ftp/tftp.md).

# TFTP

**Trivial File Transfer Protocol** is a simplified version of FTP used for basic file transfers between network devices. It operates in the Application layer over UDP port 69 and lacks authentication, encryption, or any advanced features.

## <mark style="color:green;">Interaction with the protocol</mark>

* Install

{% code overflow="wrap" lineNumbers="true" %}

```bash
sudo apt install tftp
```

{% endcode %}

***

* Connect using the protocol

<pre class="language-bash" data-overflow="wrap" data-line-numbers><code class="lang-bash">tftp $ip
<strong>tftp:\>          #Text based interface
</strong>tftp:\> get $filename               #Download a file
tftp:\> put $filename               #Upload a file
tftp:\> connect $IP                 #Change server
tftp:\> quit                        #Close connection
</code></pre>
