Tftp command reference, Ascii, Example – HP Integrity NonStop H-Series User Manual

Page 121: Binary, Connect

Advertising
background image

TFTP Command Reference

The following pages contain descriptions of the syntax (enclosed in boxes) and rules for using TFTP
commands, and provide examples of typical ways to use the commands.

ascii

Use the ascii command to set the file transfer mode used for data transfer and storage to ASCII.

ascii

You can also use the mode command to perform this function.

Example

Assume the verbose toggle is on. To change the file transfer mode to ASCII, enter the following
command:

tftp> ascii
mode set to netascii

binary

Use the binary command to set the file transfer mode used for data transfer and storage to binary,
which is also called octet.

binary

You can also use the mode command to perform this function.

Example

Assume the verbose toggle is on. To change the file transfer mode to binary, enter the following
command:

tftp> binary
mode set to octet

connect

Use the connect command to specify the remote system to be used for file transfers when you do
not specify a remote host in a get or put command.

connect host [ port]

host

is a host name or host address identifying the remote system. See Addressing Remote Hosts
on page 1-5 in Section 1, Introduction to TCP/IP Applications and Utilities.

port

specifies the number of a UDP port on the remote system that TFTP will use for the file transfers.
If you omit port, the default UDP port is 69.

TFTP does not establish a connection when you enter the connect command. The connect command
only sets the default remote system to be used.

Example

To set the default remote system to dynamo and the port to 68, enter the following command:

tftp> connect dynamo 68

TFTP Command Reference

121

Advertising
This manual is related to the following products: