Package org.apache.commons.net.ftp
Enum FTPCmd
- All Implemented Interfaces:
- Serializable,- Comparable<FTPCmd>
- Since:
- 3.3
- 
Enum Constant SummaryEnum ConstantsEnum 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 SummaryFieldsModifier and TypeFieldDescriptionstatic final FTPCmdAlias.static final FTPCmdAlias.static final FTPCmdAlias.static final FTPCmdAlias.static final FTPCmdAlias.static final FTPCmdAlias.static final FTPCmdAlias.static final FTPCmdAlias.static final FTPCmdAlias.static final FTPCmdAlias.static final FTPCmdAlias.static final FTPCmdAlias.static final FTPCmdAlias.static final FTPCmdAlias.static final FTPCmdAlias.static final FTPCmdAlias.static final FTPCmdAlias.static final FTPCmdAlias.static final FTPCmdAlias.static final FTPCmdAlias.static final FTPCmdAlias.static final FTPCmdAlias.static final FTPCmdAlias.static final FTPCmdAlias.static final FTPCmdAlias.static final FTPCmdAlias.static final FTPCmdAlias.static final FTPCmdAlias.static final FTPCmdAlias.static final FTPCmdAlias.static final FTPCmdAlias.static final FTPCmdAlias.static final FTPCmdAlias.static final FTPCmdAlias.
- 
Method SummaryModifier and TypeMethodDescriptionfinal StringRetrieve the FTP protocol command string corresponding to a specified command code.static FTPCmdReturns 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- 
ABORFTP command.
- 
ACCTFTP command.
- 
ALLOFTP command.
- 
APPEFTP command.
- 
CDUPFTP command.
- 
CWDFTP command.
- 
DELEFTP command.
- 
EPRTFTP command.
- 
EPSVFTP command.
- 
FEATFTP command.
- 
HELPFTP command.
- 
LISTFTP command.
- 
MDTMFTP command.
- 
MFMTFTP command.
- 
MKDFTP command.
- 
MLSDFTP command.
- 
MLSTFTP command.
- 
MODEFTP command.
- 
NLSTFTP command.
- 
NOOPFTP command.
- 
PASSFTP command.
- 
PASVFTP command.
- 
PORTFTP command.
- 
PWDFTP command.
- 
QUITFTP command.
- 
REINFTP command.
- 
RESTFTP command.
- 
RETRFTP command.
- 
RMDFTP command.
- 
RNFRFTP command.
- 
RNTOFTP command.
- 
SITEFTP command.
- 
SIZE- Since:
- 3.7
 
- 
SMNTFTP command.
- 
STATFTP command.
- 
STORFTP command.
- 
STOUFTP command.
- 
STRUFTP command.
- 
SYSTFTP command.
- 
TYPEFTP command.
- 
USERFTP command.
 
- 
- 
Field Details- 
ABORTAlias.
- 
ACCOUNTAlias.
- 
ALLOCATEAlias.
- 
APPENDAlias.
- 
CHANGE_TO_PARENT_DIRECTORYAlias.
- 
CHANGE_WORKING_DIRECTORYAlias.
- 
DATA_PORTAlias.
- 
DELETEAlias.
- 
FEATURESAlias.
- 
FILE_STRUCTUREAlias.
- 
GET_MOD_TIMEAlias.
- 
LOGOUTAlias.
- 
MAKE_DIRECTORYAlias.
- 
MOD_TIMEAlias.
- 
NAME_LISTAlias.
- 
PASSIVEAlias.
- 
PASSWORDAlias.
- 
PRINT_WORKING_DIRECTORYAlias.
- 
REINITIALIZEAlias.
- 
REMOVE_DIRECTORYAlias.
- 
RENAME_FROMAlias.
- 
RENAME_TOAlias.
- 
REPRESENTATION_TYPEAlias.
- 
RESTARTAlias.
- 
RETRIEVEAlias.
- 
SET_MOD_TIMEAlias.
- 
SITE_PARAMETERSAlias.
- 
STATUSAlias.
- 
STOREAlias.
- 
STORE_UNIQUEAlias.
- 
STRUCTURE_MOUNTAlias.
- 
SYSTEMAlias.
- 
TRANSFER_MODEAlias.
- 
USERNAMEAlias.
 
- 
- 
Method Details- 
valuesReturns 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
 
- 
valueOfReturns 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 name
- NullPointerException- if the argument is null
 
- 
getCommandRetrieve the FTP protocol command string corresponding to a specified command code.- Returns:
- The FTP protcol command string corresponding to a specified command code.
 
 
-