Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ tftp(1N) — UTek 3.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

services(5N)

tftpd(8N)



TFTP(1N)                COMMAND REFERENCE                TFTP(1N)



NAME
     tftp - DARPA Trivial File Transfer Protocol client program

SYNOPSIS
     tftp [ hostname ] [ port ]

DESCRIPTION
     The program tftp connects to a server (tftpd(8N)) which
     supports the DARPA Trivial File Transfer Protocol on a
     remote host specified by hostname.

     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
     hostname
             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 host name allows you to initiate a
             connection to another host.

     mode    Set a mode specifying the type of data you wish to
             send.  Available settings are ascii, binary, and
             mail.

     put     Followed by a file name sends the specified file to
             the remote system.

     get     Followed by a file name gets the named file from the
             remote system.




Printed 5/12/88                                                 1





TFTP(1N)                COMMAND REFERENCE                TFTP(1N)



     quit    Exit tftp.

     verbose Toggles verbose mode. Gives information about files
             transferred.

     trace   Toggles on or off generation of a message each time
             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 tftp works
             before giving up and retrying a packet.

     timeout Followed by a number of seconds integer value.  Set
             the total retransmission timeout. When this time is
             up tftp prints out the message Transmission Timed
             Out and prompts you for another command.

     ?       Print help information.

     Now say you want to send file myfile to the machine
     NotHereBox.  If myfile is an ascii file you do not need to
     use the mode command to change the data transmission mode
     because the default is ascii.  Type:

          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.

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) and tftpd(8N).




Printed 5/12/88                                                 2





































































%%index%%
na:264,110;
sy:374,250;
de:624,925;
op:1549,287;
ex:1836,839;3011,1498;
rv:4509,229;
ca:4738,312;
se:5050,147;
%%index%%000000000144

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026