Package org.apache.commons.net.ftp
Class FTPCommand
- java.lang.Object
-
- org.apache.commons.net.ftp.FTPCommand
-
@Deprecated public final class FTPCommand extends java.lang.ObjectDeprecated.useFTPCmdinsteadFTPCommand stores a set of constants for FTP command codes. To interpret the meaning of the codes, familiarity with RFC 959 is assumed. The mnemonic constant names are transcriptions from the code descriptions of RFC 959. For those who think in terms of the actual FTP commands, a set of constants such asUSERare provided where the constant name is the same as the FTP command.
-
-
Field Summary
Fields Modifier and Type Field Description static intABORDeprecated.static intABORTDeprecated.static intACCOUNTDeprecated.static intACCTDeprecated.static intALLODeprecated.static intALLOCATEDeprecated.static intAPPEDeprecated.static intAPPENDDeprecated.static intCDUPDeprecated.static intCHANGE_TO_PARENT_DIRECTORYDeprecated.static intCHANGE_WORKING_DIRECTORYDeprecated.static intCWDDeprecated.static intDATA_PORTDeprecated.static intDELEDeprecated.static intDELETEDeprecated.static intEPRTDeprecated.static intEPSVDeprecated.static intFEATDeprecated.static intFEATURESDeprecated.static intFILE_STRUCTUREDeprecated.static intGET_MOD_TIMEDeprecated.static intHELPDeprecated.static intLISTDeprecated.static intLOGOUTDeprecated.static intMAKE_DIRECTORYDeprecated.static intMDTMDeprecated.static intMFMTDeprecated.static intMKDDeprecated.static intMLSDDeprecated.Machine parseable list for a directorystatic intMLSTDeprecated.Machine parseable list for a single filestatic intMOD_TIMEDeprecated.static intMODEDeprecated.static intNAME_LISTDeprecated.static intNLSTDeprecated.static intNOOPDeprecated.static intPASSDeprecated.static intPASSIVEDeprecated.static intPASSWORDDeprecated.static intPASVDeprecated.static intPORTDeprecated.static intPRINT_WORKING_DIRECTORYDeprecated.static intPWDDeprecated.static intQUITDeprecated.static intREINDeprecated.static intREINITIALIZEDeprecated.static intREMOVE_DIRECTORYDeprecated.static intRENAME_FROMDeprecated.static intRENAME_TODeprecated.static intREPRESENTATION_TYPEDeprecated.static intRESTDeprecated.static intRESTARTDeprecated.static intRETRDeprecated.static intRETRIEVEDeprecated.static intRMDDeprecated.static intRNFRDeprecated.static intRNTODeprecated.static intSET_MOD_TIMEDeprecated.static intSITEDeprecated.static intSITE_PARAMETERSDeprecated.static intSMNTDeprecated.static intSTATDeprecated.static intSTATUSDeprecated.static intSTORDeprecated.static intSTOREDeprecated.static intSTORE_UNIQUEDeprecated.static intSTOUDeprecated.static intSTRUDeprecated.static intSTRUCTURE_MOUNTDeprecated.static intSYSTDeprecated.static intSYSTEMDeprecated.static intTRANSFER_MODEDeprecated.static intTYPEDeprecated.static intUSERDeprecated.static intUSERNAMEDeprecated.
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static java.lang.StringgetCommand(int command)Deprecated.Retrieve the FTP protocol command string corresponding to a specified command code.
-
-
-
Field Detail
-
USER
public static final int USER
Deprecated.- See Also:
- Constant Field Values
-
PASS
public static final int PASS
Deprecated.- See Also:
- Constant Field Values
-
ACCT
public static final int ACCT
Deprecated.- See Also:
- Constant Field Values
-
CWD
public static final int CWD
Deprecated.- See Also:
- Constant Field Values
-
CDUP
public static final int CDUP
Deprecated.- See Also:
- Constant Field Values
-
SMNT
public static final int SMNT
Deprecated.- See Also:
- Constant Field Values
-
REIN
public static final int REIN
Deprecated.- See Also:
- Constant Field Values
-
QUIT
public static final int QUIT
Deprecated.- See Also:
- Constant Field Values
-
PORT
public static final int PORT
Deprecated.- See Also:
- Constant Field Values
-
PASV
public static final int PASV
Deprecated.- See Also:
- Constant Field Values
-
TYPE
public static final int TYPE
Deprecated.- See Also:
- Constant Field Values
-
STRU
public static final int STRU
Deprecated.- See Also:
- Constant Field Values
-
MODE
public static final int MODE
Deprecated.- See Also:
- Constant Field Values
-
RETR
public static final int RETR
Deprecated.- See Also:
- Constant Field Values
-
STOR
public static final int STOR
Deprecated.- See Also:
- Constant Field Values
-
STOU
public static final int STOU
Deprecated.- See Also:
- Constant Field Values
-
APPE
public static final int APPE
Deprecated.- See Also:
- Constant Field Values
-
ALLO
public static final int ALLO
Deprecated.- See Also:
- Constant Field Values
-
REST
public static final int REST
Deprecated.- See Also:
- Constant Field Values
-
RNFR
public static final int RNFR
Deprecated.- See Also:
- Constant Field Values
-
RNTO
public static final int RNTO
Deprecated.- See Also:
- Constant Field Values
-
ABOR
public static final int ABOR
Deprecated.- See Also:
- Constant Field Values
-
DELE
public static final int DELE
Deprecated.- See Also:
- Constant Field Values
-
RMD
public static final int RMD
Deprecated.- See Also:
- Constant Field Values
-
MKD
public static final int MKD
Deprecated.- See Also:
- Constant Field Values
-
PWD
public static final int PWD
Deprecated.- See Also:
- Constant Field Values
-
LIST
public static final int LIST
Deprecated.- See Also:
- Constant Field Values
-
NLST
public static final int NLST
Deprecated.- See Also:
- Constant Field Values
-
SITE
public static final int SITE
Deprecated.- See Also:
- Constant Field Values
-
SYST
public static final int SYST
Deprecated.- See Also:
- Constant Field Values
-
STAT
public static final int STAT
Deprecated.- See Also:
- Constant Field Values
-
HELP
public static final int HELP
Deprecated.- See Also:
- Constant Field Values
-
NOOP
public static final int NOOP
Deprecated.- See Also:
- Constant Field Values
-
MDTM
public static final int MDTM
Deprecated.- Since:
- 2.0
- See Also:
- Constant Field Values
-
FEAT
public static final int FEAT
Deprecated.- Since:
- 2.2
- See Also:
- Constant Field Values
-
MFMT
public static final int MFMT
Deprecated.- Since:
- 2.2
- See Also:
- Constant Field Values
-
EPSV
public static final int EPSV
Deprecated.- Since:
- 2.2
- See Also:
- Constant Field Values
-
EPRT
public static final int EPRT
Deprecated.- Since:
- 2.2
- See Also:
- Constant Field Values
-
MLSD
public static final int MLSD
Deprecated.Machine parseable list for a directory- Since:
- 3.0
- See Also:
- Constant Field Values
-
MLST
public static final int MLST
Deprecated.Machine parseable list for a single file- Since:
- 3.0
- See Also:
- Constant Field Values
-
USERNAME
public static final int USERNAME
Deprecated.- See Also:
- Constant Field Values
-
PASSWORD
public static final int PASSWORD
Deprecated.- See Also:
- Constant Field Values
-
ACCOUNT
public static final int ACCOUNT
Deprecated.- See Also:
- Constant Field Values
-
CHANGE_WORKING_DIRECTORY
public static final int CHANGE_WORKING_DIRECTORY
Deprecated.- See Also:
- Constant Field Values
-
CHANGE_TO_PARENT_DIRECTORY
public static final int CHANGE_TO_PARENT_DIRECTORY
Deprecated.- See Also:
- Constant Field Values
-
STRUCTURE_MOUNT
public static final int STRUCTURE_MOUNT
Deprecated.- See Also:
- Constant Field Values
-
REINITIALIZE
public static final int REINITIALIZE
Deprecated.- See Also:
- Constant Field Values
-
LOGOUT
public static final int LOGOUT
Deprecated.- See Also:
- Constant Field Values
-
DATA_PORT
public static final int DATA_PORT
Deprecated.- See Also:
- Constant Field Values
-
PASSIVE
public static final int PASSIVE
Deprecated.- See Also:
- Constant Field Values
-
REPRESENTATION_TYPE
public static final int REPRESENTATION_TYPE
Deprecated.- See Also:
- Constant Field Values
-
FILE_STRUCTURE
public static final int FILE_STRUCTURE
Deprecated.- See Also:
- Constant Field Values
-
TRANSFER_MODE
public static final int TRANSFER_MODE
Deprecated.- See Also:
- Constant Field Values
-
RETRIEVE
public static final int RETRIEVE
Deprecated.- See Also:
- Constant Field Values
-
STORE
public static final int STORE
Deprecated.- See Also:
- Constant Field Values
-
STORE_UNIQUE
public static final int STORE_UNIQUE
Deprecated.- See Also:
- Constant Field Values
-
APPEND
public static final int APPEND
Deprecated.- See Also:
- Constant Field Values
-
ALLOCATE
public static final int ALLOCATE
Deprecated.- See Also:
- Constant Field Values
-
RESTART
public static final int RESTART
Deprecated.- See Also:
- Constant Field Values
-
RENAME_FROM
public static final int RENAME_FROM
Deprecated.- See Also:
- Constant Field Values
-
RENAME_TO
public static final int RENAME_TO
Deprecated.- See Also:
- Constant Field Values
-
ABORT
public static final int ABORT
Deprecated.- See Also:
- Constant Field Values
-
DELETE
public static final int DELETE
Deprecated.- See Also:
- Constant Field Values
-
REMOVE_DIRECTORY
public static final int REMOVE_DIRECTORY
Deprecated.- See Also:
- Constant Field Values
-
MAKE_DIRECTORY
public static final int MAKE_DIRECTORY
Deprecated.- See Also:
- Constant Field Values
-
PRINT_WORKING_DIRECTORY
public static final int PRINT_WORKING_DIRECTORY
Deprecated.- See Also:
- Constant Field Values
-
NAME_LIST
public static final int NAME_LIST
Deprecated.- See Also:
- Constant Field Values
-
SITE_PARAMETERS
public static final int SITE_PARAMETERS
Deprecated.- See Also:
- Constant Field Values
-
SYSTEM
public static final int SYSTEM
Deprecated.- See Also:
- Constant Field Values
-
STATUS
public static final int STATUS
Deprecated.- See Also:
- Constant Field Values
-
MOD_TIME
public static final int MOD_TIME
Deprecated.- Since:
- 2.0
- See Also:
- Constant Field Values
-
FEATURES
public static final int FEATURES
Deprecated.- Since:
- 2.2
- See Also:
- Constant Field Values
-
GET_MOD_TIME
public static final int GET_MOD_TIME
Deprecated.- Since:
- 2.2
- See Also:
- Constant Field Values
-
SET_MOD_TIME
public static final int SET_MOD_TIME
Deprecated.- Since:
- 2.2
- See Also:
- Constant Field Values
-
-
Method Detail
-
getCommand
public static final java.lang.String getCommand(int command)
Deprecated.Retrieve the FTP protocol command string corresponding to a specified command code.- Parameters:
command- The command code.- Returns:
- The FTP protcol command string corresponding to a specified command code.
-
-