O'Reilly logo

Linux in a Nutshell, Fourth Edition by Aaron Weber, Stephen Figgins, Ellen Siever

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required