Glob – HP Integrity NonStop H-Series User Manual

Page 59

Advertising
background image

INCORPORATED 2003
Connecting to fe80::a00:8eff:fe01:7db8.........Established.
220 idc15.wipro.tcpn.com FTP SERVER T9552G07 (Version 3.r TANDEM
01MAY2003) ready.
Name (fe80::a00:8eff:fe01:7db8:user): super.super
331 Password required for SUPER.SUPER.
Password:
230 User SUPER.SUPER logged in. GUARDIAN API enabled
ftp> cd $fiti.remote
250 CWD command successful.
ftp> lcd $fiti.q9552d
Local working vol.subvol: "\IDC15.$FITI.Q9552D"
ftp> get keyseq1 keyseq2,k,1001,5,5,16,60,4,0,512
200 EPRT command successful.
150 Opening data connection for keyseq (fe80::a00:8eff:fe01:7db8,1349d).
226 Transfer complete.
local: keyseq2 remote: keyseq1
6200 bytes sent in 0.10 seconds (60.55 Kbytes/s)
ftp>

The time returned on your screen represents the time used to transfer the file, not the total time used
to execute the command.

glob

Use the glob command to turn the mechanism for expanding wild-card names on or off. This
command operates as a toggle. The glob toggle applies only to mdelete, mget, and mput
commands. Wild-card names you specify in an mls or mdir command are always expanded.

glob

A wild-card name contains wild-card characters. FTP uses the wild-card characters to expand the
name to a list of file names. When glob is off, wild-card names are interpreted literally and are
not expanded. When glob is on, you can specify a set of files in mdelete, mget, and mput commands
by using a wild-card name.

When you specify a wild-card name for local files in an mput command, the wild-card characters
are processed as shown in

Table 2

. The wild-card name is replaced with an alphabetically sorted

list of file names that match the pattern. If you want a name that includes a period to be selected,
you must include the period (.) explicitly in the pattern; for example, a*.b* matches all.bits, but
a*b* does not.

A wild-card name you specify in an mdelete or mget command is expanded on the remote
system. The result of expanding a wild-card name depends on the name processing done by the
operating system and FTP server on the remote system.

NOTE:

If you enter more than one wild-card name, the lists that result are not merged; the same

file name might appear in more than one list.

Table 2 Wild-Card Characters for Local File Names

Meaning

Characters

Matches any string of characters including the null string;
for example, z* matches the names zoo, zombie, zy122,
and z.

*

Matches any single character; for example, z? matches
the names zx and zm, but not the names z or zoo.

?

Matches any one of the characters (c) enclosed; for
example, a[bcd]e matches the names abe, ace, and ade.

[ c...c ]

You can use a hyphen (-) between two characters to
indicate an alphabetic range; for example, [a-ei-k] is a
short way to specify [abcdeijk].

FTP Command Reference

59

Advertising
This manual is related to the following products: