
6.1Keyword for Video-File Functions
The keyword smc: in an ftp command invokes a
ftp> dir smc: |
|
|
|
|
Title | Usage | NPT | Format | Available Speeds |
Bambi | cm,msm | 00:03:42 | MPEGPS | 1000, |
java_class | FREE | 00:05:01 | MPEGTS | |
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