Sun Microsystems MEDIACENTER 2.1 User Manual

Page 100

Advertising
background image

6-6

Sun MediaCenter Server Administrator’s Guide • December 1997

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:

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

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

ftp> dir smc:title=\*

ftp> dir smc:title=Bat\*

Advertising