Operations File 6 Chapter

Command name

Description

Command syntax

 

 

 

TYPE

Specifies the type of data to be

TYPE <SP> <type-code (options delimited by <SP>)>

 

transferred.

<CRLF>

 

 

<type-code> can be any of the following. However, for

 

 

XDCAM, data is always transferred as “I,” regardless of the

 

 

type-code specification.

 

 

A: ASCII

 

 

 

-

N: Non-print

 

 

 

-

T: Telnet format

 

 

 

-

C: ASA Carriage Control

 

 

• E: EBCDIC

 

 

 

-

N: Non-print

 

 

 

-

T: Telnet format

 

 

 

-

C: ASA Carriage Control

 

 

I: IMAGE (Binary) (default)

 

 

• L: LOCAL BYTE

 

 

 

-

SIZE: byte size

 

 

Input example: TYPE I

 

 

 

STRU

Specifies the data structure.

STRU <SP> <structure-code> <CRLF>

 

 

<structure-code> can be any of the following. However, for

 

 

XDCAM, the structure is always “F,” regardless of the

 

 

structure-code specification.

 

 

F: File structure (default)

 

 

R: Record structure

 

 

P: Page structure

 

 

Input example: STRU F

 

 

 

MODE

Specifies the transfer mode.

MODE <SP> <mode-code> <CRLF>

 

 

<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

LIST <SP> <options> <SP> <path-name> <CRLF>

 

remote computer.

<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

 

 

 

 

 

108 6-3 FTP File Operations