|TFTP(1)||General Commands Manual||TFTP(1)|
tftp — trivial
file transfer program
tftp is the user interface to the Internet
TFTP (Trivial File Transfer Protocol), which allows users to transfer files
to and from a remote machine. The remote host and
port may be specified on the command line, in which
tftp uses them as the default for future
transfers (see the
connect command below).
tftp is running, it issues the prompt
tftp>’ and recognizes the
connectcommand does not actually create a connection, but merely remembers what host is to be used for transfers. You do not have to use the
connectcommand; the remote host can be specified as part of the
get[host1:]file1 [host2:]file2 ... [hostN:]fileN
Note that it is not possible to download two files at the same time; only one, three, or more than three files can be downloaded at the same time.
putfile1 file2 ... fileN [[host:]remote-directory]
Note that files may only be written to if they already exist on the remote host and are publicly writable. See tftpd(8) for further details.
tftp. An end-of-file also exits.
toutoption. This option delivers the retransmission timeout, which is set by
rexmt, to the server, so the server uses the same retransmission timeout as the client.
tsizeoption. This option delivers the total size of the file to be transferred. With this value given, the client or server can decide whether they are able to accept the file.
tftp command appeared in
Because there is no user login or validation within the TFTP protocol, the remote site will probably have some sort of file access restrictions in place. The exact methods are specific to each site and therefore difficult to document here.
|May 1, 2012||OpenBSD-5.5|