|TFTP(1)||General Commands Manual||TFTP(1)|
tftpis 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 case
tftpuses them as the default for future transfers (see the
tftpis running, it issues the prompt ‘
tftp>’ and recognizes the following commands:
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.
tftpcommand appeared in 4.3BSD.
|May 1, 2012||OpenBSD-current|