Home > Commands N-Z > Commands T

TFTP


Description | Syntax | Parameters | Switches | Related | Notes | Examples | Errorlevels | Availability

Transfers files to and from a remote computer running the TFTP service. This command is available only if the TCP/IP protocol has been installed.


Syntax

TFTP /?

TFTP [-i] computer [get | put] source [destination]


Parameters
computer (NT3.5)
Specifies the local or remote computer.
destination (NT3.5)
Specifies where to transfer the file. If destination is omitted, it is assumed to have the same name as source.
get (NT3.5)
Transfers the file destination on the remote computer to the file source on the local computer. Specify put if transferring file file-two on the local computer to file file-one on remote computer. Specify get if transferring file file-two on the remote computer to file file-one on the remote computer. Since 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 (NT3.5)
Transfers the file destination on the local computer to the file source on the remote computer.
source (NT3.5)
Specifies the file to transfer. If the local file is specified as -, the remote file is printed out on stdout (if getting), or is read from stdin (if putting).

Switches
/? (NTXP)
Displays help.
-i (NT3.5)
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 EOL characters to a carriage return for UNIX and a carriage return/line feed for personal computers. This mode should be used when transferring text files. If a file transfer is successful, the data transfer rate is displayed.

Related

none.


Notes

none.


Examples

none.


Errorlevels

none.


Availability
External
DOS
none
Windows
none
Windows NT
NT3.5 NT4 NT2000 NTXP NT2003