Examples, Quit, Example – HP Integrity NonStop H-Series User Manual
Page 124: Rexmt, Examples quit example rexmt example
![background image](/manuals/397061/124/background.png)
filen
specifies one of a set of local files to be copied. Each remote file is assigned the same name
as its corresponding local file. The files are copied from the current default subvolume unless
you specify qualified Guardian names.
If you qualify a local file name, the system, volume, and subvolume parts of the name are
omitted from the corresponding remote file name, and the remote file is stored in the current
directory. For example, assume the remote directory is currently /etc/test. The following
command creates the remote files /etc/test/x1 and /etc/test/x2:
tftp> put $vol1.subva.x1 $vol2.subvb.x2
[host:]remote-directory
specifies a directory and, optionally, the host name on the remote system. The local files are
copied to the specified directory.
To use this form of the put command, you must transfer files to a UNIX system. TFTP assumes
you are specifying a UNIX directory name.
You cannot copy a file unless the remote system allows access through its TFTP server.h3
Examples
In the following example, a file named newcures is copied to a remote system named medlab and
assigned the remote file name newcures:
tftp> connect medlab
tftp> put newcures
To copy files named stats87 and stats88 to the statistics directory on the medlab system, you enter
the following command:
tftp> put stats87 stats88 medlab:statistics
In the next example, a local file named topbooks is copied to the remote system named asulab
and assigned the name booklist:
tftp> put topbooks asulab:booklist
quit
Use the quit command to exit TFTP.
quit
You can also press CTRL/Y to exit TFTP.
Example
tftp> quit
rexmt
Use the rexmt command to set the number of seconds TFTP should wait for a packet to be
acknowledged by the remote system before retransmitting the packet.
rexmt interval
interval
specifies the number of seconds to wait before retransmitting a packet. The default value is
5 seconds.
Example
The following command sets the retransmission interval to 3 seconds:
tftp> rexmt 3
124
TFTP—Transferring Public Files