Sony XDCAM HD PDW-HD1500 User Manual

Page 95

Advertising
background image

95

FTP File Operations

Cha

p

te

r 6

F

ile

O

per

a

tio

ns

<mode-code> can be any of the following. However, for
XDCAM, the mode is always “S”, regardless of the mode-
code specification.

• S: Stream mode (default)

• B: Block mode

• C: Compressed mode

Input example: MODE S

LIST

Sends a list of files from this unit to the remote computer.

Command syntax: LIST <SP> <options> <SP> <path-

name> <CRLF>

<options> can be any of the following.

• -a: Also display file names that begin with “.”

• -F: Append “/” to directory names.

The following data is transferred, depending on whether
<path-name> specifies a directory or file.

• Directory specified: A list of the files in the specified

directory

• File specified: Information about the specified file

• No specification: A list of the files in the current directory

The wildcard characters “*” (any string) and “?” (any
character) may be used in <path-name>.

Input example 1: LIST-a Clip

Input example 2: LIST Clip/*.MXF

NLST

Sends a list of file names from this unit to the remote
computer, with no other information.

Command syntax: NLST <SP> <options or path-name>

<CRLF>

The following options may be specified when no path-
name is specified.

• -a: Also display file names that begin with “.”.

• -l: Display information other than file name (gives the same

result as the LIST command).

• -F: Append “/” to directory names.

The following data is transferred, depending on whether
<path-name> specifies a directory or file.

• Directory specified: A list of the file names only in the

specified directory

• No specification: A list of the file names only in the current

directory.

The wildcard characters “*” (any string) and “?” (any
character) may be used in <path-name>.

Input example 1: NLST-l

Input example 2: NLST Clip/

*

.MXF

RETR

Begins transfer of a copy of a file in the specified path on
this unit to the current directory on the remote computer.

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

Input example: RETR Clip/C0001.MXF

STOR

Begins transfer of a copy of a file in the specified path on
the remote computer to the current directory on this unit.
Depending on the type of file transferred, the following
files are created.

• C*.MXF file

1)

-C*M01.XML file (metadata)

-C*M02.KLV file (user metadata)

-C*S01.MXF file (proxy AV data)

• E*E01.SMI file

2)

-E*M01.XML file (metadata)

1) *: 0001 to 9999
2) *: 0001 to 0099

• For C*.MXF files, the UMID of the copy source file is

not saved. However, it is saved if an immediately
preceding SITE UMMD extended command has been
issued.

• For C*.MXF files, some data, such as file header

metadata, may be missing.

• Depending on the transfer destination directory and the

file type, transfer may not be possible.

For details, see “File operation restrictions” (page 84).

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

Input example: STOR Edit/E0001E01.SMI

RNFR

RNTO

Rename a file.
Specify the file to be renamed with the RNFR command,
and specify the new name with the RNTO command.
(Always follow a RNFR command with a RNTO
command.)

For details, see “File operation restrictions” (page 84).

Command syntax: RNFR <SP> <path-name (before

change)> <CRLF>

RNTO <SP> <path-name (after change)> <CRLF>

Input example: RNFR General/info.txt

RNTO General/clip_info.txt

Notes

Advertising