Package | Description |
---|---|
org.apache.ftpserver.command | |
org.apache.ftpserver.command.impl |
Internal classes, do not use directly!
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractCommand
Common base class recommended for
Command implementations |
class |
NotSupportedCommand
A command used primarily for overriding already installed commands when one
wants to disable the command.
|
Modifier and Type | Method and Description |
---|---|
Command |
CommandFactory.getCommand(String commandName)
Get the command instance.
|
Modifier and Type | Method and Description |
---|---|
Map<String,Command> |
CommandFactoryFactory.getCommandMap()
Get the installed commands
|
Modifier and Type | Method and Description |
---|---|
void |
CommandFactoryFactory.addCommand(String commandName,
Command command)
Add or override a command.
|
Modifier and Type | Method and Description |
---|---|
void |
CommandFactoryFactory.setCommandMap(Map<String,Command> commandMap)
Set commands to add or override to the default commands
|
Modifier and Type | Class and Description |
---|---|
class |
ABOR
Internal class, do not use directly.
ABOR <CRLF> This command tells the server to abort the previous FTP service command and any associated transfer of data. |
class |
ACCT
Internal class, do not use directly.
ACCT <CRLF> Acknowledges the ACCT (account) command with a 202 reply. |
class |
APPE
Internal class, do not use directly.
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. |
class |
AUTH
Internal class, do not use directly.
This server supports explicit SSL support.
|
class |
CDUP
Internal class, do not use directly.
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. |
class |
CWD
Internal class, do not use directly.
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. |
class |
DELE
Internal class, do not use directly.
DELE <SP> <pathname> <CRLF> This command causes the file specified in the pathname to be deleted at the server site. |
class |
EPRT
Internal class, do not use directly.
The EPRT command allows for the specification of an extended address for the
data connection.
|
class |
EPSV
Internal class, do not use directly.
The EPSV command requests that a server listen on a data port and wait for a
connection.
|
class |
FEAT
Internal class, do not use directly.
The FEAT command (introduced in [RFC-2389]) allows servers with additional
features to advertise these to a client by responding to the FEAT command.
|
class |
HELP
Internal class, do not use directly.
HELP [<SP> This command shall cause the server to send helpful information regarding its implementation status over the control connection to the user. |
class |
LANG
Internal class, do not use directly.
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.
|
class |
LIST
Internal class, do not use directly.
LIST [<SP> <pathname>] <CRLF> This command causes a list to be sent from the server to the passive DTP. |
class |
MD5
Internal class, do not use directly.
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. |
class |
MDTM
Internal class, do not use directly.
MDTM <SP> <pathname> <CRLF> Returns the date and time of when a file was modified. |
class |
MFMT
Command for changing the modified time of a file.
|
class |
MKD
Internal class, do not use directly.
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). |
class |
MLSD
Internal class, do not use directly.
MLSD [<SP> <pathname>] <CRLF> This command causes a list to be sent from the server to the passive DTP. |
class |
MLST
Internal class, do not use directly.
MLST <SP> <pathname> <CRLF> Returns info on the file over the control connection. |
class |
MODE
Internal class, do not use directly.
MODE <SP> The argument is a single Telnet character code specifying the data transfer modes described in the Section on Transmission Modes. |
class |
NLST
Internal class, do not use directly.
NLST [<SP> <pathname>] <CRLF> This command causes a directory listing to be sent from server to user site. |
class |
NOOP
Internal class, do not use directly.
NOOP <CRLF> This command does not affect any parameters or previously entered commands. |
class |
OPTS
Internal class, do not use directly.
OPTS<SP> This command shall cause the server use optional features for the command specified. |
class |
OPTS_MLST
Internal class, do not use directly.
Client-Server listing negotation.
|
class |
OPTS_UTF8
Internal class, do not use directly.
Client-Server encoding negotiation.
|
class |
PASS
Internal class, do not use directly.
PASS <SP> The argument field is a Telnet string specifying the user's password. |
class |
PASV
Internal class, do not use directly.
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. |
class |
PBSZ
Internal class, do not use directly.
Protection buffer size.
|
class |
PORT
Internal class, do not use directly.
PORT <SP> The argument is a HOST-PORT specification for the data port to be used in data connection. |
class |
PROT
Internal class, do not use directly.
Data channel protection level.
|
class |
PWD
Internal class, do not use directly.
PWD <CRLF> This command causes the name of the current working directory to be returned in the reply. |
class |
QUIT
Internal class, do not use directly.
QUIT <CRLF> This command terminates a USER and if file transfer is not in progress, the server closes the control connection. |
class |
REIN
Internal class, do not use directly.
REIN <CRLF> This command flushes a USER, without affecting transfers in progress. |
class |
REST
Internal class, do not use directly.
REST <SP> The argument field represents the server marker at which file transfer is to be restarted. |
class |
RETR
Internal class, do not use directly.
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. |
class |
RMD
Internal class, do not use directly.
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). |
class |
RNFR
Internal class, do not use directly.
RNFR <SP> <pathname> <CRLF> This command specifies the old pathname of the file which is to be renamed. |
class |
RNTO
Internal class, do not use directly.
RNTO <SP> <pathname> <CRLF> This command specifies the new pathname of the file specified in the immediately preceding "rename from" command. |
class |
SITE
Internal class, do not use directly.
Handle SITE command.
|
class |
SITE_DESCUSER
Internal class, do not use directly.
This SITE command returns the specified user information.
|
class |
SITE_HELP
Internal class, do not use directly.
Show SITE help message.
|
class |
SITE_STAT
Internal class, do not use directly.
Show all statistics information.
|
class |
SITE_WHO
Internal class, do not use directly.
Sends the list of all the connected users.
|
class |
SITE_ZONE
Internal class, do not use directly.
Displays the FTP server timezone in RFC 822 format.
|
class |
SIZE
Internal class, do not use directly.
SIZE <SP> <pathname> <CRLF> Returns the size of the file in bytes. |
class |
STAT
Internal class, do not use directly.
STAT [<SP> <pathname>] <CRLF> This command shall cause a status response to be sent over the control connection in the form of a reply. |
class |
STOR
Internal class, do not use directly.
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. |
class |
STOU
Internal class, do not use directly.
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. |
class |
STRU
Internal class, do not use directly.
STRU <SP> <structure-code> <CRLF> The argument is a single Telnet character code specifying file structure. |
class |
SYST
Internal class, do not use directly.
SYST <CRLF> This command is used to find out the type of operating system at the server. |
class |
TYPE
Internal class, do not use directly.
TYPE <SP> <type-code> <CRLF> The argument specifies the representation type. |
class |
USER
Internal class, do not use directly.
USER <SP> <username> <CRLF> The argument field is a Telnet string identifying the user. |
Modifier and Type | Method and Description |
---|---|
Command |
DefaultCommandFactory.getCommand(String cmdName)
Get command.
|
Constructor and Description |
---|
DefaultCommandFactory(Map<String,Command> commandMap)
Internal constructor, use
CommandFactoryFactory instead |
Copyright © 2003–2016 The Apache Software Foundation. All rights reserved.