2025-03-14 21:59:59 -06:00
|
|
|
# tftp
|
|
|
|
|
|
|
|
|
|
> Trivial File Transfer Protocol client.
|
2026-02-18 06:55:01 -07:00
|
|
|
> More information: <https://manned.org/tftp>.
|
2025-03-14 21:59:59 -06:00
|
|
|
|
2026-02-18 06:55:01 -07:00
|
|
|
- Connect to a TFTP server with an interactive shell, specifying its IP address and port:
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
`tftp {{server_ip}} {{port}}`
|
|
|
|
|
|
|
|
|
|
- Connect to a TFTP server and execute a TFTP [c]ommand:
|
|
|
|
|
|
|
|
|
|
`tftp {{server_ip}} -c {{command}}`
|
|
|
|
|
|
|
|
|
|
- Connect to a TFTP server using IPv6 and force originating port to be in [R]ange:
|
|
|
|
|
|
|
|
|
|
`tftp {{server_ip}} -6 -R {{port}}:{{port}}`
|
|
|
|
|
|
2026-02-18 06:55:01 -07:00
|
|
|
- [Interactive] Set the transfer mode to binary or ASCII through the tftp client:
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
`mode {{binary|ascii}}`
|
|
|
|
|
|
2026-02-18 06:55:01 -07:00
|
|
|
- [Interactive] Download file from a server through the tftp client:
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
`get {{file}}`
|
|
|
|
|
|
2026-02-18 06:55:01 -07:00
|
|
|
- [Interactive] Upload file to a server through the tftp client:
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
`put {{file}}`
|
|
|
|
|
|
2026-02-18 06:55:01 -07:00
|
|
|
- [Interactive] Exit the tftp client:
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
`quit`
|