Sun Microsystems 2.1 manual Keyword for Video-File Functions

Models: 2.1

1 184
Download 184 pages 37.97 Kb
Page 97
Image 97

6.1Keyword for Video-File Functions

The keyword smc: in an ftp command invokes a video-file function. So, for example, to obtain a directory listing of the video files on a Sun MediaCenter server, you enter the following command:

ftp> dir smc:

 

 

 

 

Title

Usage

NPT

Format

Available Speeds

Bambi

cm,msm

00:03:42

MPEGPS

1000,

java_class

FREE

00:05:01

MPEGTS

1000,3000,-3000,

haircut

msm,

00:01:50

MPEG1SYS

1000,

list continues to conclusion...

ftp>

The output from dir smc:, as above, is identical to that of smc_ls, described in Chapter 5.

To obtain a listing of video files with all relevant attributes, enter:

ftp> ls smc:title=\*

You receive output such as the following:

smc:title=Bambi,format=MPEGPS,speed=1000,type=data,rate=3000000 smc:title=java_class,format=MPEG1SYS,speed=1000,type=data,rate=1500000 smc:title=haircut,format=MPEGTS,speed=1000,type=data,rate=2600000

list continues to conclusion...

ftp>

The attributes shown in the preceding output are described later.

Note that, at the ftp prompt, if you enter a ls or dir command without the smc: keyword, you receive a listing of the UFS files in the current working directory, just as you normally would. Standard FTP functions remain unchanged.

Chapter 6 Sun MediaCenter Server FTP Daemon 6-3

Page 97
Image 97
Sun Microsystems 2.1 manual Keyword for Video-File Functions