Package org.apache.commons.net.ftp
Enum FTPCmd
- All Implemented Interfaces:
Serializable
,Comparable<FTPCmd>
- Since:
- 3.3
-
Enum Constant Summary
Enum ConstantDescriptionFTP command.FTP command.FTP command.FTP command.FTP command.FTP command.FTP command.FTP command.FTP command.FTP command.FTP command.FTP command.FTP command.FTP command.FTP command.FTP command.FTP command.FTP command.FTP command.FTP command.FTP command.FTP command.FTP command.FTP command.FTP command.FTP command.FTP command.FTP command.FTP command.FTP command.FTP command.FTP command.FTP command.FTP command.FTP command.FTP command.FTP command.FTP command.FTP command.FTP command. -
Field Summary
Modifier and TypeFieldDescriptionstatic final FTPCmd
Alias.static final FTPCmd
Alias.static final FTPCmd
Alias.static final FTPCmd
Alias.static final FTPCmd
Alias.static final FTPCmd
Alias.static final FTPCmd
Alias.static final FTPCmd
Alias.static final FTPCmd
Alias.static final FTPCmd
Alias.static final FTPCmd
Alias.static final FTPCmd
Alias.static final FTPCmd
Alias.static final FTPCmd
Alias.static final FTPCmd
Alias.static final FTPCmd
Alias.static final FTPCmd
Alias.static final FTPCmd
Alias.static final FTPCmd
Alias.static final FTPCmd
Alias.static final FTPCmd
Alias.static final FTPCmd
Alias.static final FTPCmd
Alias.static final FTPCmd
Alias.static final FTPCmd
Alias.static final FTPCmd
Alias.static final FTPCmd
Alias.static final FTPCmd
Alias.static final FTPCmd
Alias.static final FTPCmd
Alias.static final FTPCmd
Alias.static final FTPCmd
Alias.static final FTPCmd
Alias.static final FTPCmd
Alias. -
Method Summary
Modifier and TypeMethodDescriptionfinal String
Retrieve the FTP protocol command string corresponding to a specified command code.static FTPCmd
Returns the enum constant of this type with the specified name.static FTPCmd[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
ABOR
FTP command. -
ACCT
FTP command. -
ALLO
FTP command. -
APPE
FTP command. -
CDUP
FTP command. -
CWD
FTP command. -
DELE
FTP command. -
EPRT
FTP command. -
EPSV
FTP command. -
FEAT
FTP command. -
HELP
FTP command. -
LIST
FTP command. -
MDTM
FTP command. -
MFMT
FTP command. -
MKD
FTP command. -
MLSD
FTP command. -
MLST
FTP command. -
MODE
FTP command. -
NLST
FTP command. -
NOOP
FTP command. -
PASS
FTP command. -
PASV
FTP command. -
PORT
FTP command. -
PWD
FTP command. -
QUIT
FTP command. -
REIN
FTP command. -
REST
FTP command. -
RETR
FTP command. -
RMD
FTP command. -
RNFR
FTP command. -
RNTO
FTP command. -
SITE
FTP command. -
SIZE
- Since:
- 3.7
-
SMNT
FTP command. -
STAT
FTP command. -
STOR
FTP command. -
STOU
FTP command. -
STRU
FTP command. -
SYST
FTP command. -
TYPE
FTP command. -
USER
FTP command.
-
-
Field Details
-
ABORT
Alias. -
ACCOUNT
Alias. -
ALLOCATE
Alias. -
APPEND
Alias. -
CHANGE_TO_PARENT_DIRECTORY
Alias. -
CHANGE_WORKING_DIRECTORY
Alias. -
DATA_PORT
Alias. -
DELETE
Alias. -
FEATURES
Alias. -
FILE_STRUCTURE
Alias. -
GET_MOD_TIME
Alias. -
LOGOUT
Alias. -
MAKE_DIRECTORY
Alias. -
MOD_TIME
Alias. -
NAME_LIST
Alias. -
PASSIVE
Alias. -
PASSWORD
Alias. -
PRINT_WORKING_DIRECTORY
Alias. -
REINITIALIZE
Alias. -
REMOVE_DIRECTORY
Alias. -
RENAME_FROM
Alias. -
RENAME_TO
Alias. -
REPRESENTATION_TYPE
Alias. -
RESTART
Alias. -
RETRIEVE
Alias. -
SET_MOD_TIME
Alias. -
SITE_PARAMETERS
Alias. -
STATUS
Alias. -
STORE
Alias. -
STORE_UNIQUE
Alias. -
STRUCTURE_MOUNT
Alias. -
SYSTEM
Alias. -
TRANSFER_MODE
Alias. -
USERNAME
Alias.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getCommand
Retrieve the FTP protocol command string corresponding to a specified command code.- Returns:
- The FTP protcol command string corresponding to a specified command code.
-