tftp


tftp

Stands for trivial file-transfer protocol, which copies files between the client and a host running the TFTP service.

Syntax

 tftp [-i]   hostname   [get  put]   source   [   destination   ] 

Options

-i

Switches to binary (octet) mode for bytewise transfers of binary files. (Otherwise, the default ASCII mode is used.)

hostname

Indicates the destination host running the TFTP service.

get put

Downloads or uploads the file as specified.

source

Specifies the local file you want to transfer. If you use a hyphen, the destination file is printed out on STDOUT (when getting) or is read from STDIN when putting ).

destination

Renames the file after transferring it (destination is optional).

Examples

Transfer the file C:\pub\smiley.gif from the local machine to the remote Unix host called BONGO :

  tftp -i bongo put C:\pub\smiley.gif  Transfer successful: 386 bytes in 1 second, 386 bytes/s. 

Notes

TFTP doesn't support user authentication, so the user transferring the file must be logged on and must have permission to write to the remote directory. TFTP also uses UDP to transfer files and is therefore not guaranteed as reliable. Use FTP instead for a more reliable method that supports basic authentication.

See Also

ftp



Windows Server 2003 in a Nutshell
Windows Server 2003 in a Nutshell
ISBN: 0596004044
EAN: 2147483647
Year: 2003
Pages: 415
Authors: Mitch Tulloch

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net