Sun Microsystems 2.1 Server User Manual


 
Chapter 6 Sun MediaCenter Server FTP Daemon 6-3
6.1 Keyword 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:
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:
You receive output such as the following:
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.
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>
ftp> ls smc:title=\*
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>