Sun Microsystems MEDIACENTER 2.1 User Manual

Page 105

Advertising
background image

Chapter 6

Sun MediaCenter Server FTP Daemon

6-11

get

The

get

command allows you to copy a video file from a Sun MediaCenter server

to a local file system. An example of its use:

put

The

put

command allows you to copy a video file from a local file system to a

Sun MediaCenter server. It is the command you use when loading content onto
the server. (See Section 6.4 “Loading Content with ftp” on page 6-14.) An example
of its use:

ftp> bin

ftp> get smc:title=batman,format=MPEGTS,speed=1000,type=data,\

rate=3000000 /home/backup/batman.data

200 PORT command successful.

150 Binary data connection for smc:title=batman,speed=1000,type=data,

rate=3000000 (129.144.90.32,56133) (0 bytes).

226 Binary Transfer complete.

local: /home/backup/batman.index remote:

smc:title=batman,speed=1000,type=data,rate=3000000

17658000000 bytes received in 6237 seconds (2.7 Kbytes/s)

ftp>

ftp> put /home/backup/batman \

smc:title=batman,speed=1000,type=index,format=MPEG1SYS,rate=3000000

200 PORT command successful.

150 Binary data connection for smc:title=batman,speed=1000,type=data,

rate=3000000,format=MPEG1SYS (129.144.90.32,56133) (0 bytes).

226 Binary Transfer complete.

local: /home/backup/batman remote:

smc:title=batman,speed=1000,type=data,rate=3000000,format=MPEG1SYS

8900048 bytes received in 72 seconds (123.6 Kbytes/s)

ftp>

Advertising