Name
tftp
Synopsis
tftp [options] [host [port]]User interface to TFTP (IPv4 Trivial File Transfer Protocol), which allows users to transfer files to and from a remote machine. The remote host may be specified, and optionally the port, in which case tftp uses host as the default host for future transfers. The version of tftp described here is tftp-hpa.
Options
- -v
Verbose mode.
- -V
Print version and configuration information and exit.
Commands
Once tftp is running, it issues the prompt:
tftp>
and recognizes the following commands:
- ? [command...], help [command...]
Print help information. If no command is specified, list the commands and a brief usage message. With a command, list the usage message for that command.
- ascii
Shorthand for mode ascii.
- binary
Shorthand for mode binary.
- connect hostname [port]
Set the hostname, and optionally the port, for transfers.
- get filename , get remotename localname , get filename1 filename2 filename3...filenameN
Get a file or set of files from the specified remote sources. The filename can be specified as host:filename to set both host and filename at the same time. In that case, the last host specified becomes the default for future file transfers.
- mode transfer-mode
Set the mode for transfers. transfer-mode may be ascii, netascii, binary, octet, or image. The default is ascii.
- put filename , put localfile remotefile , put filename1 filename2...filenameN remote-directory
Transfer a file or set of files to the specified remote file or directory. The ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access