Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ tftp(1) — Reliant UNIX 5.44c4

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

ftp(1)

tftp(1)                                                             tftp(1)

NAME
     tftp - trivial file transfer program

SYNOPSIS
     tftp[ remotehost]

DESCRIPTION
     tftp allows you to transfer files to and from a remote host.

     tftp is the interface to the TFTP server on a remote host. The remote
     host may be specified on the command line, in which case tftp uses
     remotehost as the default for future transfers (see the tftp command
     connect). Once tftp is running, it issues the prompt tftp>. You can
     now enter any of the tftp commands described below.

   tftp commands

     ascii
          Set the data transfer mode to ASCII code.

     binary
          Set the data transfer mode to binary code.

     connect remotehost[ port]
          Links the local host with the remote TFTP server on remotehost.
          If you also give the number of a port on the remote host, the
          link is set up via this port.

          Unlike FTP, TFTP does not actually create a connection, but
          merely remembers what host is to be used for file transfers.

          Thus you do not need to specify the remote host until you issue a
          request to send or fetch a file (see put and get).

     get file
     get remotefile localfile
     get file1 file2 file3...fileN
          Fetches one file or a set of files (at least three) from the
          specified remote host. File names can be specified in one of two
          forms:

          -  either simply as file names, provided you have already speci-
             fied the remote host

          -  or as a string in the form remotehost:filename, if you have
             not previously specified the remote host. If you use this
             form, you simultaneously set the default value for remotehost
             for future file transfers.

     mode transfermode
          Sets the transfer mode to ascii or binary. The default is ascii.




Page 1                       Reliant UNIX 5.44                Printed 11/98

tftp(1)                                                             tftp(1)

     put file
     put localfile remotefile
     put file1 file2...fileN remotedirectory
          Sends one or more files to the specified remote host. File names
          can be specified in one of two forms:

          -  either simply as file names, provided you have already speci-
             fied the remote host

          -  or as a string in the form remotehost:filename, if you have
             not previously specified the remote host. If you use this
             form, you simultaneously set the default value for remotehost
             for future file transfers.

          If a remote directory is named as the destination, the remote
          host must be a UNIX system.

     quit Exits tftp. This has the same effect as <CTRL-D>.

     rexmt timeout
          Sets the timeout in seconds for per-packet retransmission.

     status
          Displays the current tftp status.

     timeout absolute-timeout
          Sets the overall transmission timeout in seconds.

     trace
          Toggles packet tracing on and off (default setting: off).

     verbose
          Toggles verbose mode on and off (default setting: off).

     ?[ command]
          Provides help information on tftp commands.

     Note:
          Since tftp does not actually create a connection to the remote
          host, it is possible that the file transfer will not succeed.

EXAMPLE
     $ tftp
     tftp > connect farlands
     type password: holiday
     tftp > status
     Mode: netascii Verbose: off Tracing: off
     Rexmt-interval: 5 seconds Max-timeout: 25 seconds
     tftp > timeout 120
     tftp > put file1
     tftp > quit
     $


Page 2                       Reliant UNIX 5.44                Printed 11/98

tftp(1)                                                             tftp(1)

SEE ALSO
     ftp(1).




















































Page 3                       Reliant UNIX 5.44                Printed 11/98

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