Setting session and file transfer parameters, Sending and retrieving files – HP Integrity NonStop H-Series User Manual

Page 120

Advertising
background image

Table 8 TFTP Command Summary (continued)

Purpose

Command

Set the file transfer mode.

mode

Send a file.

put

Set the time interval before retransmission of a packet that
is not acknowledged by the remote system.

rexmt

Display the current settings of the TFTP session and the file
transfer parameters.

status

Set the timeout interval after which TFTP stops transmitting
a packet that is not acknowledged by the remote system.

timeout

Turns the display of packet tracing information on or off.

trace

Turns the display of file transfer statistics on or off.

verbose

To enter one of these commands, you only need to specify enough characters to differentiate that
command from all the other commands. For example, you can enter the letter c for the connect
command:

tftp> c medlabs

Setting Session and File Transfer Parameters

You can specify settings for parameters that control the way files are transferred and the displays
that appear during your session. In the following example, the first two commands set the file
transfer mode to binary and turn on the display of file transfer statistics. The next two commands
set up the way in which TFTP retransmits packets that are not acknowledged by the remote system.
The rexmt command specifies that TFTP will retransmit a packet if it is not acknowledged by the
remote system within 10 seconds. The timeout command specifies that TFTP stop retransmitting the
packet 40 seconds after the first transmission, even though the packet is unacknowledged:

tftp> mode binary
tftp> verbose
Verbose mode on.
tftp> rexmt 10
tftp> timeout 40

Each parameter has a default value or setting (on or off) when you start TFTP. for detailed
information, see

“TFTP Command Reference” (page 121)

.

Sending and Retrieving Files

To send files, you use the put command; to retrieve files, you use the get command. You can transfer
one or more files using a single command. A file transfer operation copies the original file to or
from the remote system.

You can specify the remote system in one of three ways:

Specify the remote system when you enter the TFTP run command. This method is convenient
if you intend to transfer many files to or from the same remote system during your TFTP session.

Enter a connect command. You should use the connect command if the remote system is not
accessible through the well-known port (UDP port 69). This command allows you to specify a
port.

Enter the remote host name preceding the remote file name in a get or put command. This
method overrides a default remote system if you have specified one.

You might not be able to transfer a file due to the security restrictions placed on files at the remote
system. In this situation, ask the administrator or manager of that system what security restrictions
apply.

120 TFTP—Transferring Public Files

Advertising
This manual is related to the following products: