TFTP(1N) COMMAND REFERENCE TFTP(1N)
NAME
tftp - DARPA Trivial File Transfer Protocol client program
SYNOPSIS
tftp [ t-name ] [ port ]
DESCRIPTION
Tftp is a program which connects to a server (tftpd(8n))
which supports the DARPA Trivial File Transfer Protocol on a
remote host specified by host-name.
The use of tftp does not require an account or password on
the remote system. Due to the lack of authentication
information, tftpd(8n) will allow only publicly readable
files to be accessed. Note that this extends the concept of
``public'' to include all users on all hosts that can be
reached through the network; this may not be appropriate on
all systems, and its implications should be considered
before enabling the tftp service.
OPTIONS
host-name
This is the name of the remote host you want to connect
to.
port
Use this port instead of the one in services(5n).
EXAMPLES
Invoke tftp:
tftp NotHereBox
If the host NotHereBox is known you will get a prompt for
further tftp commands.
tftp>
Type any of the following commands:
connect
Followed by a hostname allows you to initiate a connection
to another host.
mode
Set according the type of data you wish to send. Available
settings are ascii, binary, and mail
put
Followed by a file name will send the file to the remote
system.
Printed 10/17/86 1
TFTP(1N) COMMAND REFERENCE TFTP(1N)
get
Followed by a file name will get the named file from the
remote system.
quit
exit tftp
verbose
Toggles verbose mode. Gives information about files
transferred.
trace
Toggles on or off generation of a message everytime a
packet is transferred.
status
Shows current status of connection, which mode data is
sent in, what host you are connected to, etc.
rexmt
Followed by a number of seconds value. Set the per-packet
retransmission timeout. Tftp expects an acknowledgement
after each packet is sent. This command lets you set how
many seconds before tftp gives up and retries a packet.
timeout
Followed by a number of seconds integer value. Set the
total retransmission timeout. When this time is up tftp
prints out " Transmission Timed Out " and then prompts you
for another command.
? Print out help information.
Now say you want to send file "myfile" to NotHereBox. If
"myfile" is a ascii file you do not need to use the mode
command to change the data transmission mode because the
default is ascii.
tftp> put myfile
Use the quit command to exit tftp.
tftp> quit
RETURN VALUE
[0] No errors encountered.
[1] Errors encountered.
[3] System socket error
Printed 10/17/86 2
TFTP(1N) COMMAND REFERENCE TFTP(1N)
CAVEATS
This program is known only to be self consistent (i.e. it
operates with the server TFTP program, tftpd(8n)).
The search permissions of the directories leading to the
files accessed are not checked.
SEE ALSO
services(5n) tftpd(8n).
Printed 10/17/86 3
%%index%%
na:72,94;
sy:166,156;
de:322,926;
op:1248,258;
ex:1506,1052;2702,1364;
rv:4066,172;
ca:4382,324;
se:4706,157;
%%index%%000000000143