.\" Copyright (c) 1986 Regents of the University of California.
.\" All rights reserved. The Berkeley software License Agreement
.\" specifies the terms and conditions for redistribution.
.\" @(#)tftp.1c 1.2 (Berkeley) 4/20/86
.TH TFTP 1C "April 20, 1986"
tftp \- trivial file transfer program
is the user interface to the Internet TFTP
(Trivial File Transfer Protocol),
which allows users to transfer files to and from a remote machine.
may be specified on the command line, in which case
as the default host for future transfers (see the
is running, it issues the prompt
and recognizes the following commands:
\fBconnect\fP \fIhost-name\fP [ \fIport\fP ]
Note that the TFTP protocol, unlike the FTP protocol,
does not maintain connections betweeen transfers; thus, the
command does not actually create a connection,
but merely remembers what host is to be used for transfers.
You do not have to use the
command; the remote host can be specified as part of the
\fBmode\fP \fItransfer-mode\fP
Set the mode for transfers;
\fBput\fP \fIlocalfile remotefile\fP
\fBput\fP \fIfile1 file2 ... fileN remote-directory\fP
Put a file or set of files to the specified
remote file or directory.
can be in one of two forms:
a filename on the remote host, if the host has already been specified,
to specify both a host and filename at the same time.
If the latter form is used,
the hostname specified becomes the default for future transfers.
If the remote-directory form is used, the remote host is
\fBget\fP \fIremotename\fP \fIlocalname\fP
\fBget\fP \fIfile1\fP \fIfile2\fP ... \fIfileN\fP
Get a file or set of files from the specified
can be in one of two forms:
a filename on the remote host, if the host has already been specified,
to specify both a host and filename at the same time.
If the latter form is used,
the last hostname specified becomes the default for future transfers.
An end of file also exits.
\fBrexmt\fP \fIretransmission-timeout\fP
Set the per-packet retransmission timeout, in seconds.
\fBtimeout\fP \fItotal-transmission-timeout\fP
Set the total transmission timeout, in seconds.
Shorthand for "mode ascii"
Shorthand for "mode binary"
\fB?\fP \ [ \fIcommand-name\fP ... ]
Because there is no user-login or validation within
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.