HP-UX Reference (11i v1 05/09) - 1M System Administration Commands A-M (vol 3)

f
ftpd(1M) ftpd(1M)
DELE Delete a file
HELP Give help information
LIST Give list files in a directory (
ls -l)
MKD Make a directory
MDTM Show last modification time of file
MODE Specify data transfer mode
NLST Give name list of files in directory
NOOP Do nothing
PASS Specify password
PASV Prepare for server-to-server transfer
PORT Specify data connection port
PWD Print the current working directory
QUIT Terminate session
REST Restart incomplete transfer
RETR Retrieve a file
RMD Remove a directory
RNFR Specify rename-from file name
RNTO Specify rename-to file name
SITE Non-standard commands (see next section)
SIZE Return size of file
STAT Return status of server
STOR Store a file
STOU Store a file with a unique name
STRU Specify data transfer structure
SYST Show operating system type of server system
TYPE Specify data transfer type
USER Specify user name
XCUP Change to parent of current working directory
XCWD Change working directory
XMKD Make a directory
XPWD Print the current working directory
XRMD Remove a directory
The following non-standard or HP-UX specific commands are supported by the SITE command:
Command Description
UMASK
Change umask. (e.g., SITE UMASK 002)
IDLE Set idle-timer. (e.g., SITE IDLE 60)
CHMOD Change mode of a file. (e.g., SITE CHMOD 755 filename)
HELP Give help information. (e.g., SITE HELP)
NEWER List files newer than a particular date.
MINFO Works like SITE NEWER, but gives extra information.
GROUP Request for special group access. (e.g. , SITE GROUP foo)
GPASS Give special group access password. (e.g. , SITE GPASS bar)
EXEC Execute a program. (e.g. , SITE EXEC program params)
The remaining FTP requests specified in Internet RFC 959 are recognized, but not implemented. MDTM
and SIZE are not specified in RFC 959, but are expected in the next updated FTP RFC.
The FTP server aborts an active file transfer only when the ABOR command is preceded by a Telnet "Inter-
rupt Process" (IP) signal and a Telnet ‘‘Synch’’ signal in the command Telnet stream, as described in Inter-
net RFC 959. If ftpd receives a STAT command during a data transfer, preceded by a Telnet IP and
Synch, it returns the status of the transfer.
ftpd interprets file names according to the ‘‘globbing conventions used by csh(1). This allows users to
utilize the metacharacters *, ., [, ], {, }, ˜, and ?.
ftpd authenticates users according to three rules:
The user name must be in the password data base, /etc/passwd , and not have a null password.
The client must provide the correct password for the user before any file operations can be per-
formed.
The user name must not appear in the file /etc/ftpd/ftpusers (see ftpusers(4)).
The user must have a standard shell returned by getusershell().
HP-UX 11i Version 1: September 2005 2 Hewlett-Packard Company Section 1M281