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
modeASCII.-
binary Shorthand for
modebinary.-
connecthostname[port] Set the
hostname, and optionally theport, for transfers.-
getfilename,getremotename localname,getfilename1 filename2 filename3...filenameN Get a file or set of files from the specified remote sources.
-
modetransfer-mode Set the mode for transfers.
transfer-modemay beASCIIorbinary. The default isASCII.-
putfilename,putlocalfile remotefile,putfilename1 filename2...filenameN remote- directory Transfer a file or set of files to the specified remote file or directory.
-
quit Exit
tftp.-
rexmtretransmission-timeout Set the per-packet retransmission timeout, in seconds.
-
status Print status information: whether
tftpis 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.-
timeouttotal-transmission-timeout Set the total transmission timeout, in seconds.
-
trace Toggle packet tracing.
-
verbose Toggle verbose mode. ...
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