Linux in a Nutshell, Third Edition
by Ellen Siever, Stephen Spainhour, Jessica P. Hekman, Stephen Figgins
Name
tftp
Synopsis
tftp [host [port]]
Description
User interface to the TFTP (Trivial File Transfer Protocol), which allows users to transfer files to and from a remote machine. The remote host may be specified, in which case tftp uses host as the default host for future transfers.
Commands
Once tftp is running, it issues the prompt:
tftp>
and recognizes the following commands:
- ? [command-name...]
Print help information.
- 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.
- mode transfer-mode
Set the mode for transfers. transfer-mode may be ASCII or binary. 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.
- quit
Exit tftp.
- rexmt retransmission-timeout
Set the per-packet retransmission timeout, in seconds.
- status
Print status information: whether tftp is connected to a remote host (i.e., whether a host has been specified for the next connection), the current mode, whether verbose and tracing modes are on, and the values for retransmission timeout and total transmission timeout.
- timeout total-transmission-timeout
Set the total transmission timeout, in seconds.
- trace
Toggle packet tracing.
- verbose
Toggle ...
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