Package org.apache.commons.net.ftp
Enum FTPCmd
- All Implemented Interfaces:
Serializable
,Comparable<FTPCmd>
Enumerates FTP commands.
- Since:
- 3.3
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionFTP command 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 OPTS.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.FTP command SMNT.FTP command STAT.FTP command STOR.FTP command STOU.FTP command STRU.FTP command SYST.FTP command TYPE.FTP command USER. -
Field Summary
FieldsModifier 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 TypeMethodDescriptionRetrieve 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 ABOR. -
ACCT
FTP command ACCT. -
ALLO
FTP command ALLO. -
APPE
FTP command APPE. -
CDUP
FTP command CDUP. -
CWD
FTP command CWD. -
DELE
FTP command DELE. -
EPRT
FTP command EPRT. -
EPSV
FTP command EPSV. -
FEAT
FTP command FEAT. -
HELP
FTP command HELP. -
LIST
FTP command LIST. -
MDTM
FTP command MDTM. -
MFMT
FTP command MFMT. -
MKD
FTP command MKD. -
MLSD
FTP command MLSD. -
MLST
FTP command MLST. -
MODE
FTP command MODE. -
NLST
FTP command NLST. -
NOOP
FTP command NOOP. -
OPTS
FTP command OPTS.- Since:
- 3.12.0
-
PASS
FTP command PASS. -
PASV
FTP command PASV. -
PORT
FTP command PORT. -
PWD
FTP command PWD. -
QUIT
FTP command QUIT. -
REIN
FTP command REIN. -
REST
FTP command REST. -
RETR
FTP command RETR. -
RMD
FTP command RMD. -
RNFR
FTP command RNFR. -
RNTO
FTP command RNTO. -
SITE
FTP command SITE. -
SIZE
FTP command SIZE.- Since:
- 3.7
-
SMNT
FTP command SMNT. -
STAT
FTP command STAT. -
STOR
FTP command STOR. -
STOU
FTP command STOU. -
STRU
FTP command STRU. -
SYST
FTP command SYST. -
TYPE
FTP command TYPE. -
USER
FTP command USER.
-
-
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.
-