Package org.apache.commons.net.ftp
Class FTPCommand
java.lang.Object
org.apache.commons.net.ftp.FTPCommand
Deprecated.
FTPCommand 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 as
 
USER  are provided where the constant name is the same as the FTP command.- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final intDeprecated.Command code 21.static final intDeprecated.Alias for 21.static final intDeprecated.Alias for 2.static final intDeprecated.Command code 2.static final intDeprecated.Command code 17.static final intDeprecated.Alias for 17.static final intDeprecated.Command code 16.static final intDeprecated.Alias for 16.static final intDeprecated.Command code 4.static final intDeprecated.Alias for 4.static final intDeprecated.Alias for 3.static final intDeprecated.Command code 3.static final intDeprecated.Alias for 8.static final intDeprecated.Command code 22.static final intDeprecated.Alias for 22.static final intDeprecated.Command code 37.static final intDeprecated.Command code 36.static final intDeprecated.Command code 34.static final intDeprecated.Alias for 34.static final intDeprecated.Alias for 11.static final intDeprecated.Alias for 33.static final intDeprecated.Command code 31.static final intDeprecated.Command code 26.static final intDeprecated.Alias for 7.static final intDeprecated.Alias for 24.static final intDeprecated.Command code 33.static final intDeprecated.Command code 35.static final intDeprecated.Command code 24.static final intDeprecated.Machine parseable list for a directory.static final intDeprecated.Machine parseable list for a single file.static final intDeprecated.Alias for 33.static final intDeprecated.Command code 12.static final intDeprecated.Alias for 27.static final intDeprecated.Command code 27.static final intDeprecated.Command code 32.static final intDeprecated.Command code 1.static final intDeprecated.Alias for 9.static final intDeprecated.Alias for 1.static final intDeprecated.Command code 9.static final intDeprecated.Command code 8.static final intDeprecated.Alias for 25.static final intDeprecated.Command code 25.static final intDeprecated.Command code 7.static final intDeprecated.Command code 6.static final intDeprecated.Alias for 6.static final intDeprecated.Alias for 23.static final intDeprecated.Alias for 19.static final intDeprecated.Alias for 20.static final intDeprecated.Alias for 10.static final intDeprecated.Command code 18.static final intDeprecated.Alias for 18.static final intDeprecated.Command code 13.static final intDeprecated.Alias for 13.static final intDeprecated.Command code 23.static final intDeprecated.Command code 19.static final intDeprecated.Command code 20.static final intDeprecated.Alias for 35.static final intDeprecated.Command code 28.static final intDeprecated.Alias for 28.static final intDeprecated.Command code 5.static final intDeprecated.Command code 30.static final intDeprecated.Alias for 30.static final intDeprecated.Command code 14.static final intDeprecated.Alias for 14.static final intDeprecated.Alias for 15.static final intDeprecated.Command code 15.static final intDeprecated.Command code 11.static final intDeprecated.Alias for 5.static final intDeprecated.Command code 29.static final intDeprecated.Alias for 29.static final intDeprecated.Alias for 12.static final intDeprecated.Command code 10.static final intDeprecated.Command code 0.static final intDeprecated.Alias for 0.
- 
Method SummaryModifier and TypeMethodDescriptionstatic StringgetCommand(int command) Deprecated.Retrieve the FTP protocol command string corresponding to a specified command code.
- 
Field Details- 
USERDeprecated.Command code 0.- See Also:
 
- 
PASSDeprecated.Command code 1.- See Also:
 
- 
ACCTDeprecated.Command code 2.- See Also:
 
- 
CWDDeprecated.Command code 3.- See Also:
 
- 
CDUPDeprecated.Command code 4.- See Also:
 
- 
SMNTDeprecated.Command code 5.- See Also:
 
- 
REINDeprecated.Command code 6.- See Also:
 
- 
QUITDeprecated.Command code 7.- See Also:
 
- 
PORTDeprecated.Command code 8.- See Also:
 
- 
PASVDeprecated.Command code 9.- See Also:
 
- 
TYPEDeprecated.Command code 10.- See Also:
 
- 
STRUDeprecated.Command code 11.- See Also:
 
- 
MODEDeprecated.Command code 12.- See Also:
 
- 
RETRDeprecated.Command code 13.- See Also:
 
- 
STORDeprecated.Command code 14.- See Also:
 
- 
STOUDeprecated.Command code 15.- See Also:
 
- 
APPEDeprecated.Command code 16.- See Also:
 
- 
ALLODeprecated.Command code 17.- See Also:
 
- 
RESTDeprecated.Command code 18.- See Also:
 
- 
RNFRDeprecated.Command code 19.- See Also:
 
- 
RNTODeprecated.Command code 20.- See Also:
 
- 
ABORDeprecated.Command code 21.- See Also:
 
- 
DELEDeprecated.Command code 22.- See Also:
 
- 
RMDDeprecated.Command code 23.- See Also:
 
- 
MKDDeprecated.Command code 24.- See Also:
 
- 
PWDDeprecated.Command code 25.- See Also:
 
- 
LISTDeprecated.Command code 26.- See Also:
 
- 
NLSTDeprecated.Command code 27.- See Also:
 
- 
SITEDeprecated.Command code 28.- See Also:
 
- 
SYSTDeprecated.Command code 29.- See Also:
 
- 
STATDeprecated.Command code 30.- See Also:
 
- 
HELPDeprecated.Command code 31.- See Also:
 
- 
NOOPDeprecated.Command code 32.- See Also:
 
- 
MDTMDeprecated.Command code 33.- Since:
- 2.0
- See Also:
 
- 
FEATDeprecated.Command code 34.- Since:
- 2.2
- See Also:
 
- 
MFMTDeprecated.Command code 35.- Since:
- 2.0
- See Also:
 
- 
EPSVDeprecated.Command code 36.- Since:
- 2.0
- See Also:
 
- 
EPRTDeprecated.Command code 37.- Since:
- 2.0
- See Also:
 
- 
MLSDDeprecated.Machine parseable list for a directory.- Since:
- 3.0
- See Also:
 
- 
MLSTDeprecated.Machine parseable list for a single file.- Since:
- 3.0
- See Also:
 
- 
USERNAMEDeprecated.Alias for 0.- See Also:
 
- 
PASSWORDDeprecated.Alias for 1.- See Also:
 
- 
ACCOUNTDeprecated.Alias for 2.- See Also:
 
- 
CHANGE_WORKING_DIRECTORYDeprecated.Alias for 3.- See Also:
 
- 
CHANGE_TO_PARENT_DIRECTORYDeprecated.Alias for 4.- See Also:
 
- 
STRUCTURE_MOUNTDeprecated.Alias for 5.- See Also:
 
- 
REINITIALIZEDeprecated.Alias for 6.- See Also:
 
- 
LOGOUTDeprecated.Alias for 7.- See Also:
 
- 
DATA_PORTDeprecated.Alias for 8.- See Also:
 
- 
PASSIVEDeprecated.Alias for 9.- See Also:
 
- 
REPRESENTATION_TYPEDeprecated.Alias for 10.- See Also:
 
- 
FILE_STRUCTUREDeprecated.Alias for 11.- See Also:
 
- 
TRANSFER_MODEDeprecated.Alias for 12.- See Also:
 
- 
RETRIEVEDeprecated.Alias for 13.- See Also:
 
- 
STOREDeprecated.Alias for 14.- See Also:
 
- 
STORE_UNIQUEDeprecated.Alias for 15.- See Also:
 
- 
APPENDDeprecated.Alias for 16.- See Also:
 
- 
ALLOCATEDeprecated.Alias for 17.- See Also:
 
- 
RESTARTDeprecated.Alias for 18.- See Also:
 
- 
RENAME_FROMDeprecated.Alias for 19.- See Also:
 
- 
RENAME_TODeprecated.Alias for 20.- See Also:
 
- 
ABORTDeprecated.Alias for 21.- See Also:
 
- 
DELETEDeprecated.Alias for 22.- See Also:
 
- 
REMOVE_DIRECTORYDeprecated.Alias for 23.- See Also:
 
- 
MAKE_DIRECTORYDeprecated.Alias for 24.- See Also:
 
- 
PRINT_WORKING_DIRECTORYDeprecated.Alias for 25.- See Also:
 
- 
NAME_LISTDeprecated.Alias for 27.- See Also:
 
- 
SITE_PARAMETERSDeprecated.Alias for 28.- See Also:
 
- 
SYSTEMDeprecated.Alias for 29.- See Also:
 
- 
STATUSDeprecated.Alias for 30.- See Also:
 
- 
MOD_TIMEDeprecated.Alias for 33.- Since:
- 2.0
- See Also:
 
- 
FEATURESDeprecated.Alias for 34.- Since:
- 2.2
- See Also:
 
- 
GET_MOD_TIMEDeprecated.Alias for 33.- Since:
- 2.2
- See Also:
 
- 
SET_MOD_TIMEDeprecated.Alias for 35.- Since:
- 2.2
- See Also:
 
 
- 
- 
Method Details- 
getCommandDeprecated.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.
 
 
- 
FTPCmdinstead