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 Summary
FieldsModifier and TypeFieldDescriptionstatic final intDeprecated.static final intDeprecated.static final intDeprecated.static final intDeprecated.static final intDeprecated.static final intDeprecated.static final intDeprecated.static final intDeprecated.static final intDeprecated.static final intDeprecated.static final intDeprecated.static final intDeprecated.static final intDeprecated.static final intDeprecated.static final intDeprecated.static final intDeprecated.static final intDeprecated.static final intDeprecated.static final intDeprecated.static final intDeprecated.static final intDeprecated.static final intDeprecated.static final intDeprecated.static final intDeprecated.static final intDeprecated.static final intDeprecated.static final intDeprecated.static final intDeprecated.static final intDeprecated.Machine parseable list for a directorystatic final intDeprecated.Machine parseable list for a single filestatic final intDeprecated.static final intDeprecated.static final intDeprecated.static final intDeprecated.static final intDeprecated.static final intDeprecated.static final intDeprecated.static final intDeprecated.static final intDeprecated.static final intDeprecated.static final intDeprecated.static final intDeprecated.static final intDeprecated.static final intDeprecated.static final intDeprecated.static final intDeprecated.static final intDeprecated.static final intDeprecated.static final intDeprecated.static final intDeprecated.static final intDeprecated.static final intDeprecated.static final intDeprecated.static final intDeprecated.static final intDeprecated.static final intDeprecated.static final intDeprecated.static final intDeprecated.static final intDeprecated.static final intDeprecated.static final intDeprecated.static final intDeprecated.static final intDeprecated.static final intDeprecated.static final intDeprecated.static final intDeprecated.static final intDeprecated.static final intDeprecated.static final intDeprecated.static final intDeprecated.static final intDeprecated.static final intDeprecated.static final intDeprecated.static final intDeprecated. -
Method Summary
Modifier and TypeMethodDescriptionstatic StringgetCommand(int command) Deprecated.Retrieve the FTP protocol command string corresponding to a specified command code.
-
Field Details
-
USER
-
PASS
-
ACCT
-
CWD
-
CDUP
-
SMNT
-
REIN
-
QUIT
-
PORT
-
PASV
-
TYPE
-
STRU
-
MODE
-
RETR
-
STOR
-
STOU
-
APPE
-
ALLO
-
REST
-
RNFR
-
RNTO
-
ABOR
-
DELE
-
RMD
-
MKD
-
PWD
-
LIST
-
NLST
-
SITE
-
SYST
-
STAT
-
HELP
-
NOOP
-
MDTM
-
FEAT
-
MFMT
-
EPSV
-
EPRT
-
MLSD
Deprecated.Machine parseable list for a directory- Since:
- 3.0
- See Also:
-
MLST
Deprecated.Machine parseable list for a single file- Since:
- 3.0
- See Also:
-
USERNAME
-
PASSWORD
-
ACCOUNT
-
CHANGE_WORKING_DIRECTORY
-
CHANGE_TO_PARENT_DIRECTORY
-
STRUCTURE_MOUNT
-
REINITIALIZE
-
LOGOUT
-
DATA_PORT
-
PASSIVE
-
REPRESENTATION_TYPE
-
FILE_STRUCTURE
-
TRANSFER_MODE
-
RETRIEVE
-
STORE
-
STORE_UNIQUE
-
APPEND
-
ALLOCATE
-
RESTART
-
RENAME_FROM
-
RENAME_TO
-
ABORT
-
DELETE
-
REMOVE_DIRECTORY
-
MAKE_DIRECTORY
-
PRINT_WORKING_DIRECTORY
-
NAME_LIST
-
SITE_PARAMETERS
-
SYSTEM
-
STATUS
-
MOD_TIME
-
FEATURES
-
GET_MOD_TIME
-
SET_MOD_TIME
-
-
Method Details
-
getCommand
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.
-
FTPCmdinstead