121
FTP File Operations
Cha
p
te
r 6
F
ile
O
per
a
tio
ns
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.
- 777: Allow writing to the directory.
• When a file in the General directory is specified in <path-
name>
- 444: Forbid writing to and execution of the file.
- 555: Forbid writing to the file, but allow execution.
- 666: Allow writing to the file, but forbid execution.
- 777: Allow writing to and execution of the file.
Input example:
SITE CHMOD 444 Clip/C0001.MXF
(Lock clip C0001.MXF)
SITE TCPR
Presets the starting timecode of a clip copied with the
STOR command. Specify the timecode in the format
“ffssmmhh” (ff: frames, ss: seconds, mm: minutes, hh:
hours).
• This command remains in effect until a STOR command
is executed, or (if no STOR command is executed) until
the FTP connection is terminated.
• If a SITE UMMD command is executed after this
command, the SITE UMMD command takes priority
and this command is discarded.
• If this command is executed several times in sequence,
the last command takes priority.
Command syntax: SITE TCPR <SP> <timecode >
<CRLF>
Note
Notes