Extended commands – Sony XDCAM HD PDW-HD1500 User Manual

Page 97

Advertising
background image

97

FTP File Operations

Cha

p

te

r 6

F

ile

O

per

a

tio

ns

Command syntax: RMD <SP> <path-name> <CRLF>

Extended commands

The following table shows the extended FTP commands
supported by this unit.

In the Command syntax, <SP> means a space, entered by
pressing the space bar, and <CRLF> means a new line,
entered by pressing the Enter key.

SITE REPF

Sends an MXF file from the specified path on this unit to
the remote computer. This command allows you to specify
a segment in the body of the MXF file (composed of video
and audio data), for transfer of the required segment only.

• A segment greater than the file size cannot be specified.
• This command cannot be used when the path names

contains a space. Use the SITE REPFL command
instead.

Command syntax: SITE REPF <SP> <path-name> <SP>

<start-frame> <SP> <transfer-size> <CRLF>

<start-frame> specifies an offset from the start of the file.
Data is transferred from the video frame at the offset (the
first frame is 0).
<transfer-size> specifies the number of video frames to
transfer (specify 0 to transfer to the end of the file).

Input example: SITE REPF Clip/C0001.MXF 5 150

(Transfer C0001.MXF. Body data is transferred only

from frame 6 to frame 150.)

SITE REPFL

Sends an MXF file from the specified path on this unit to
the remote computer. This command allows you to specify
a segment in the body of the MXF file (composed of video
and audio data), for transfer of the required segment only.

A segment greater than the file size cannot be specified.

Command syntax: SITE REPFL <SP> “<path-name>”

<SP> <start-frame> <SP> <transfer-size> <CRLF>

<path-name> specifies the path name of the file to transfer.
Enclose the path name in double quotation marks.
<start-frame> specifies an offset from the start of the file.
Data is transferred from the video frame at the offset (the
first frame is 0).
<transfer-size> specifies the number of video frames to
transfer (specify 0 to transfer to the end of the file).

Input example: SITE REPFL “Clip/sakura 0001.MXF” 5 150

(Transfer sakura 0001.MXF. Body data is transferred

only from frame 6 to frame 150.)

SITE FSTS

Acquires the system status of this unit.
One of the following status codes is sent.

• 0: Initial state, or no disc is loaded.

• 1: File system mount is OK.

• 3: File system mount is not OK.

Command syntax: SITE FSTS <CRLF>

SITE MEID

Acquires the media ID of the disc loaded in this unit.

Command syntax: SITE MEID <CRLF>

SITE FUNC

Acquires the function and version of the extended
commands.
Information is sent in the following format.

Command syntax: <main function> <SP> <branch

function> <SP> <branch function version>

For XDCAM, sent in a format like “200 MXF DISK 1”
(“200” is a response code).

Command syntax: SITE FUNC <CRLF>

SITE UMMD

When a C*.MXF file is sent with the STOR command, the
copy source UMID is saved if this command is invoked
immediately before the STOR command.

Command syntax: SITE UMMD <CRLF>

SITE DF

Acquires the amount of free disc space.

Command syntax: SITE DF <CRLF>

SITE CHMOD

Locks and unlocks clips. Also sets permissions for
directories and files in the General directory.

Command syntax: SITE CHMOD <SP> <flag> <SP>

<path-name> <CRLF>

Specify one of the following values in <flag>, according to
the specification in <path-name>.

• When a clip is specified in <path-name>

- 444: Lock.

- 666: Unlock.

• When a directory in the General directory is specified in

<path-name>
- 555: Forbid writing to the directory.

Note

Notes

Note

Advertising