Examples, Help, Get examples help – HP Integrity NonStop H-Series User Manual

Page 122

Advertising
background image

get

Use the get command to copy one or more remote files to the local system.

get { [host:]remote-file [ [host:]local-file ] }

{ }

{ file1 file2 ... filen }

host

is a host name identifying the remote system from which the file is copied. You cannot specify
a host address. For information about specifying host names and addresses, see Addressing
Remote Hosts on page 1-5, in Section 1, Introduction to TCP/IP Applications and Utilities.

remote-file

specifies the name of the remote file to be copied. Specify remote-file as required by the
remote system.

If you specify only the name of the remote file and not its full pathname, the TFTP server assumes
that the full pathname for the file is \system.$volume.subvolume.remote-file, where
\system.$volume.subvolume is the first configured subvolume for TFTPSRV.

local-file

specifies a name for the local file. Follow the Guardian file naming conventions. Unless you
qualify the file name, the file is stored in your current default subvolume.

If you omit local-file, TFTP uses remote-file for the new file name. If remote-file
is not a valid Guardian file name, you must specify local-file.

filen

specifies one of a set of remote files to be copied. You cannot include a host name when
specifying a list of remote files. Each local file is assigned the same name as its corresponding
remote file.

The list should include only remote file names that can be valid Guardian local file names. You
must transfer other files one at a time and specify a local file name for each one.

You cannot copy a file unless the remote system allows access through its TFTP server.

Examples

In the following example, a file named typetips is copied from a remote system named ssu and
assigned the local file name typetips:

tftp> get ssu:typetips

To copy the same file and assign the name goodtips, enter the following command:

tftp> get ssu:typetips goodtips

In the next example, three files are copied from the remote system named asulab. The local files
are assigned the same names as the remote files.

tftp> connect asulab
tftp> get stocks gameplan refs

help

Use the help command to display either a list of all commands or helpful information about a
specific command.

help [ command-name ]

122

TFTP—Transferring Public Files

Advertising
This manual is related to the following products: