Name
tftp
Synopsis
tftp [host [port]]
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
orbinary
. The default isASCII
.-
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 verbose ...
Get Mac OS X in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.