7-3-2 Command List

 

 

 

The FTP protocol commands supported by this unit

 

 

 

Notes

 

include standard commands (see the next section) and

 

• To execute FTP commands, you must install application

extended commands (see page 97).

software such as PDZ-1 on your computer.

 

 

 

 

 

 

• The commands supported by application software vary.

Standard commands

 

 

 

The following table shows the standard FTP commands

In the command syntax column, <SP> means a space,

supported by this unit.

 

 

entered by pressing the space bar, and <CRLF> means a

 

 

 

new line, entered by pressing the Enter key.

 

 

 

 

Command name

Description

 

Command syntax

 

 

 

 

USER

Send this command to begin the login

 

USER <SP> <username> <CRLF>

 

process.

 

Input example: USER admin

 

 

 

 

 

 

 

PASS

After sending the USER command,

 

PASS <SP> <password> <CRLF>

 

send this command to complete the

 

 

 

 

 

login process.

 

Input example: PASS pdw-1500

 

 

 

 

QUIT

Terminates the FTP connection. If a file

 

QUIT <CRLF>

 

is being transferred, terminates after

 

 

 

 

 

completion of the transfer.

 

 

 

 

 

 

 

 

PORT

Specifies the IP address and port to

 

PORT <SP> <h1,h2,h3,h4,p1,p2> <CRLF>

 

which this unit should connect for the

 

• h1 (most significant byte) to h4 (least significant byte): IP

 

next file transfer (for data transfer from

 

 

this unit).

 

address

 

 

 

• p1 (most significant byte), p2 (least significant byte): Port

 

 

 

address

 

 

 

Input example: PORT 10,0,0,1,242,48

 

 

 

(IP address: 10.0.0.1, Port number: 62000)

 

 

 

 

PASV

This command requests this unit to

 

PASV <CRLF>

 

“listen” on a data port (which is not its

 

 

 

 

 

default data port). (It puts this unit into

 

 

 

 

 

passive mode, waiting for the remote

 

 

 

 

 

computer to make a data connection.)

 

 

 

 

 

 

 

 

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

 

 

 

 

 

 

Operations File 7 Chapter

7-3 FTP File Operations

93