Sun Microsystems 2.1 manual ftp dir smctitle=Bat

Models: 2.1

1 184
Download 184 pages 37.97 Kb
Page 100
Image 100

All ftp commands except rename, when used with the Sun MediaCenter FTP daemon, accept the asterisk (*) as a wildcard character. When using the Solaris FTP client, you must use a backslash to escape the asterisk. Otherwise, the shell interprets the asterisk to mean all files in the current working directory. Other FTP clients, such as one you might use on a Wintel PC, might not have this requirement.

Note The wildcard asterisk, as used with the Sun MediaCenter FTP daemon, has a different meaning from when you use the asterisk without the smc: keyword. As used with the Sun MediaCenter FTP daemon, the asterisk means “all of the titles on the server” or, with mput, “all of the titles in the current directory.” You can use the asterisk only by itself, not as a substitute for a piece of a string. For example, the following is valid syntax:

ftp> dir smc:title=\*

The example above, returns the names of all titles on the server. The following is not valid syntax:

ftp> dir smc:title=Bat\*

In the example above, the asterisk does not allow you to search on all titles that begin with the string “Bat”.

6-6Sun MediaCenter Server Administrator’s Guide • December 1997

Page 100
Image 100
Sun Microsystems 2.1 manual ftp dir smctitle=Bat, Sun MediaCenter Server Administrator’s Guide December