82
FTP File Operations
Cha
p
te
r 6
F
ile
O
per
ati
ons
HELP
Displays a list of the commands supported by this unit, or
an explanation of the specified command.
Command syntax: HELP <SP> <command-name>
<CRLF>
The following data is transferred, depending on whether a
command name is specified with <command-name>.
• Command name specified: Explanation of the specified
command.
• No specification: Command list
Input example:
HELP RETR
NOOP
Does nothing except return a response. (Used to check
whether this unit is running.)
Command syntax: NOOP <CRLF>
PWD
Displays the current directory (“/” if the directory is the
root directory).
Command syntax: PWD <CRLF>
CWD
Changes the current directory (moves from the current
directory to another directory).
Command syntax: CWD <SP> <path-name> <CRLF>
Moves to a directory as follows, depending on whether a
directory is specified with <path-name>.
• Directory specified: To the specified directory
• No specification: To the root directory
Input example:
CWD General
CDUP
Moves one level up in the directory structure (makes the
parent of the current directory be the current directory).
Command syntax: CDUP <CRLF>
MKD
Creates a new directory.
Command syntax: MKD <SP> <path-name> <CRLF>
RMD
Deletes a directory.
Command syntax: RMD <SP> <path-name> <CRLF>
Some limitations apply to the deletion of directories.
For details, see “File operation restrictions” (page 76).
Extended commands
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 DF
Displays the remaining space of the applicable media in
the current directory.
Command syntax: SITE DF<CRLF>
SITE_MEID
Displays the ID of the applicable media in the current
directory.
Command syntax: SITE_MEID<CRLF>
SITE CHMOD
Locks and unlocks clips. Also sets permissions for
directories and files.
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 is specified in <path-name>
- 555: Forbid writing to the directory.
- 777: Allow writing to the directory.
• When a file 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 REPF
Sends a portion of a copy of the file specified on the unit
to a computer.
Command syntax: SITE REPF <SP> <path-name> <SP>
<start frame> <SP> <transfer size> <CRLF>
SITE REPFL
Sends a portion of a copy of the file specified on the unit
to a computer.
(When the path name includes spaces)
Note