7 communicating with the ftp server, Ftp server commands – HP Integrity NonStop H-Series User Manual

Page 92

Advertising
background image

7 Communicating With the FTP Server

HP NonStop TCP/IP applications include an FTP server (ftpserv) that you can connect to while using
an FTP client on another network system.

FTP Server Commands

The FTP server supports the FTP commands described in

Table 3

and recognizes, but does not

process, any other FTP commands defined in Internet RFC 959. The FTP client can use uppercase
or lowercase letters in command syntax.

If the FTP client you are using sends wild-card names to the FTP server, the server processes the
wild-card characters using the scheme described with the FTP client glob command in Section 6,
FTP—Transferring Files.

Table 3 FTP Commands Processed

Processing Performed

Command

Aborts an active file transfer. The ABOR command must
be preceded by a Telnet Interrupt Process (IP) signal and
a Telnet Synchronization (SYNCH) signal. Syntax: ABOR

ABOR

Appends data to a specified file on the server system. If
the file does not exist, it stores the data in a new file. This

APPE

command must be preceded by a PORT command.(Syntax:
APPEfilename

)

Changes the current default subvolume (working subvolume)
to the specified subvolume. Syntax: CWD [
$volume.]subvolume

CWD

Deletes the specified file from the server system. Syntax:
DELEfilename

DELE

Allows specification of an extended address for the data
connection. Such an address must consist of the network

EPRT

protocol as well as the network transport address. Syntax:
EPRT

|net-protocol|net-addr|tcp-port|where

net-protocol

is either 1 (IPv4) or 2 (IPv6), net-addr

is the network address, and tcp-port is a string
representation of the TCP port on which the host listens for
the connection.

Request that a server listen on a data port and wait for a
connection. It takes an optional argument. When you issue

EPSV

an EPSV with no argument, the server chooses the protocol
for the data connection on the basis of the protocol used
for the control connection. Syntax: EPSVTo request the use
of a specific protocol. Syntax: EPSVnet-protocolwhere
net-protocol

is either 1 (IPv4) or 2 (IPv6).

Provides a list of the FTP commands that the server can
process, or describes the specified command. Syntax: HELP
[ command ]

HELP

Gives detailed information on files on a specified
subvolume, or information on a specified file. If the

LIST

subvolume is not specified, the information is about the
current default subvolume. This command must be preceded
by a PORT command. Syntax: LIST [ subvolume.* |
filename

]

Creates a directory using the specified directory-name.
Syntax: MKDdirectory-name)

MKD

92

Communicating With the FTP Server

Advertising
This manual is related to the following products: