Share via


Tftp

This connectivity tool transfers files to and from a remote computer running the Trivial File Transfer Protocol (TFTP) service. This tool is similar to Ftp, but it does not provide user authentication, although the files require read and write UNIX permissions. Tftp can only be used for unidirectional transfer of files.

Syntax

tftp [– i ] host [ get | put ] source [ destination ]

Switches

i

Specifies binary image transfer mode (also called octet). In binary image mode, the file is moved literally byte by byte. Use this mode when transferring binary files.

If – i is omitted, the file is transferred in ASCII mode. This is the default transfer mode. This mode converts the end-of-line (EOL) characters to an appropriate format for the given system. Use this mode when transferring text files. If a file transfer is successful, the data transfer rate is displayed.

get

Transfer destination on the remote computer to source on the local computer.

Because the TFTP protocol does not support user authentication, the user must be logged on, and the files must be writable on the remote computer.

put

Transfers source on the local computer to destination on the remote computer.

Variables

host

Specifies the local or remote host.

source

Specifies the file to transfer.

destination

Specifies where to transfer the file.