Package org.apache.ftpserver.command

Class Summary
ABOR ABOR <CRLF>
This command tells the server to abort the previous FTP service command and any associated transfer of data.
AbstractCommand Common base class recommended for Command implementations
ACCT ACCT <CRLF>
Acknowledges the ACCT (account) command with a 202 reply.
APPE APPE <SP> <pathname> <CRLF>
This command causes the server-DTP to accept the data transferred via the data connection and to store the data in a file at the server site.
AUTH This server supports explicit SSL support.
CDUP CDUP <CRLF>
This command is a special case of CWD, and is included to simplify the implementation of programs for transferring directory trees between operating systems having different syntaxes for naming the parent directory.
CWD CWD <SP> <pathname> <CRLF>
This command allows the user to work with a different directory for file storage or retrieval without altering his login or accounting information.
DELE DELE <SP> <pathname> <CRLF>
This command causes the file specified in the pathname to be deleted at the server site.
EPRT The EPRT command allows for the specification of an extended address for the data connection.
EPSV The EPSV command requests that a server listen on a data port and wait for a connection.
FEAT The FEAT command (introduced in [RFC-2389]) allows servers with additional features to advertise these to a client by responding to the FEAT command.
HELP HELP [<SP> ] <CRLF>
This command shall cause the server to send helpful information regarding its implementation status over the control connection to the user.
LANG A new command "LANG" is added to the FTP command set to allow server-FTP process to determine in which language to present server greetings and the textual part of command responses.
LIST LIST [<SP> <pathname>] <CRLF>
This command causes a list to be sent from the server to the passive DTP.
MD5 MD5 <SP> <pathname> <CRLF>
MMD5 <SP> <pathnames> <CRLF>
Returns the MD5 value for a file or multiple files according to draft-twine-ftpmd5-00.txt.
MDTM MDTM <SP> <pathname> <CRLF>
Returns the date and time of when a file was modified.
MKD MKD <SP> <pathname> <CRLF>
This command causes the directory specified in the pathname to be created as a directory (if the pathname is absolute) or as a subdirectory of the current working directory (if the pathname is relative).
MLSD MLSD [<SP> <pathname>] <CRLF>
This command causes a list to be sent from the server to the passive DTP.
MLST MLST <SP> <pathname> <CRLF>
Returns info on the file over the control connection.
MODE MODE <SP> <CRLF>
The argument is a single Telnet character code specifying the data transfer modes described in the Section on Transmission Modes.
NLST NLST [<SP> <pathname>] <CRLF>
This command causes a directory listing to be sent from server to user site.
NOOP NOOP <CRLF>
This command does not affect any parameters or previously entered commands.
NotSupportedCommand A command used primarily for overriding already installed commands when one wants to disable the command.
OPTS OPTS<SP> <SP>
This command shall cause the server use optional features for the command specified.
OPTS_MLST Client-Server listing negotation.
OPTS_UTF8 Client-Server encoding negotiation.
PASS PASS <SP> <CRLF>
The argument field is a Telnet string specifying the user's password.
PASV PASV <CRLF>
This command requests the server-DTP to "listen" on a data port (which is not its default data port) and to wait for a connection rather than initiate one upon receipt of a transfer command.
PBSZ Protection buffer size.
PORT PORT <SP> <CRLF>
The argument is a HOST-PORT specification for the data port to be used in data connection.
PROT Data channel protection level.
PWD PWD <CRLF>
This command causes the name of the current working directory to be returned in the reply.
QUIT QUIT <CRLF>
This command terminates a USER and if file transfer is not in progress, the server closes the control connection.
REIN REIN <CRLF>
This command flushes a USER, without affecting transfers in progress.
REST REST <SP> <CRLF>
The argument field represents the server marker at which file transfer is to be restarted.
RETR RETR <SP> <pathname> <CRLF>
This command causes the server-DTP to transfer a copy of the file, specified in the pathname, to the server- or user-DTP at the other end of the data connection.
RMD RMD <SP> <pathname> <CRLF>
This command causes the directory specified in the pathname to be removed as a directory (if the pathname is absolute) or as a subdirectory of the current working directory (if the pathname is relative).
RNFR RNFR <SP> <pathname> <CRLF>
This command specifies the old pathname of the file which is to be renamed.
RNTO RNTO <SP> <pathname> <CRLF>
This command specifies the new pathname of the file specified in the immediately preceding "rename from" command.
SITE Handle SITE command.
SITE_DESCUSER This SITE command returns the specified user information.
SITE_HELP Show SITE help message.
SITE_STAT Show all statistics information.
SITE_WHO Sends the list of all the connected users.
SITE_ZONE Displays the FTP server timezone in RFC 822 format.
SIZE SIZE <SP> <pathname> <CRLF>
Returns the size of the file in bytes.
STAT STAT [<SP> <pathname>] <CRLF>
This command shall cause a status response to be sent over the control connection in the form of a reply.
STOR STOR <SP> <pathname> <CRLF>
This command causes the server-DTP to accept the data transferred via the data connection and to store the data as a file at the server site.
STOU STOU <CRLF>
This command behaves like STOR except that the resultant file is to be created in the current directory under a name unique to that directory.
STRU STRU <SP> <structure-code> <CRLF>
The argument is a single Telnet character code specifying file structure.
SYST SYST <CRLF>
This command is used to find out the type of operating system at the server.
TYPE TYPE <SP> <type-code> <CRLF>
The argument specifies the representation type.
USER USER <SP> <username> <CRLF>
The argument field is a Telnet string identifying the user.
 



Copyright © 2003-2008 The Apache Software Foundation. All Rights Reserved.