tftp
TLDR
Connect to server
$ tftp [server_ip] [port]
Execute command directly$ tftp [server_ip] -c [command]
Connect with IPv6 and port range$ tftp [server_ip] -6 -R [port:port]
Set transfer mode (interactive)$ mode [binary|ascii]
Download file (interactive)$ get [file]
Upload file (interactive)$ put [file]
Exit (interactive)$ quit
SYNOPSIS
tftp [OPTIONS] [HOST [PORT]]
DESCRIPTION
tftp is a client for the Trivial File Transfer Protocol, a simple protocol for transferring files without authentication. TFTP operates over UDP and is commonly used for network booting (PXE) and firmware updates.
PARAMETERS
-c COMMAND
Execute TFTP command and exit-6
Use IPv6-R PORT:PORT
Force originating port range-v
Verbose output
INTERACTIVE COMMANDS
get file
Download file from serverput file
Upload file to servermode binary|ascii
Set transfer modestatus
Show current statusquit
Exit client
CAVEATS
No authentication or encryption. UDP-based, may have issues with firewalls. Limited error handling compared to FTP. Maximum file size limited by protocol.
HISTORY
TFTP was defined in RFC 1350 (1992) and is one of the oldest file transfer protocols. It's designed for simplicity, making it suitable for embedded systems and network boot environments.


