TFTP(1-SysV) RISC/os Reference Manual TFTP(1-SysV)
NAME
tftp - trivial file transfer program
SYNOPSIS
tftp [ host ]
DESCRIPTION
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 may be
specified on the command line, in which case tftp uses host
as the default host for future transfers (see the connect
command below).
An account or password on the remote machine is not
required. Due to lack of authentication information, tftp
is only able to access publicly readable files. Search per-
missions of directories leading to accessed files are not
checked.
COMMANDS
Once tftp is running, it issues the prompt tftp> and recog-
nizes the following commands:
connect host-name [ port ]
Set the host (and optionally port)
for transfers. Note that the TFTP
protocol, unlike the FTP protocol,
does not maintain connections
betweeen transfers; thus, the con-
nect 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 connect command; the remote
host can be specified as part of
the get or put commands.
mode transfer-mode Set the mode for transfers;
transfer-mode may be one of ascii,
binary, or mail. The default is
ascii.
put file ... destination Put a file or set of files to the
specified destination. destination
can be in one of two forms: a
filename on the remote host, if the
host has already been specified, or
a string of the form host:filename
to specify both a host and filename
at the same time. If the latter
form is used, the hostname
Printed 1/15/91 Page 1
TFTP(1-SysV) RISC/os Reference Manual TFTP(1-SysV)
specified becomes the default for
future transfers.
get source ... file Get a file or set of files from the
specified sources. source can be
in one of two forms: a filename on
the remote host, if the host has
already been specified, or a string
of the form host : filename to
specify both a host and filename at
the same time. If the latter form
is used, the last hostname speci-
fied becomes the default for future
transfers.
quit Exit tftp.
verbose Toggle verbose mode. Has no
effect.
trace Toggle packet tracing.
status Show current status.
rexmt retransmission-timeout
Set the per-packet retransmission
timeout, in seconds.
timeout total-transmission-timeout
Set the total transmission timeout,
in seconds.
? [ command-name ... ] Print help information.
ERRORS
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.
The verbose command has no effect.
Page 2 Printed 1/15/91