|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.commons.net.ftp.FTPCommand
public final class FTPCommand
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 | |
---|---|
static int |
ABOR
|
static int |
ABORT
|
static int |
ACCOUNT
|
static int |
ACCT
|
static int |
ALLO
|
static int |
ALLOCATE
|
static int |
APPE
|
static int |
APPEND
|
static int |
CDUP
|
static int |
CHANGE_TO_PARENT_DIRECTORY
|
static int |
CHANGE_WORKING_DIRECTORY
|
static int |
CWD
|
static int |
DATA_PORT
|
static int |
DELE
|
static int |
DELETE
|
static int |
EPRT
|
static int |
EPSV
|
static int |
FEAT
|
static int |
FEATURES
|
static int |
FILE_STRUCTURE
|
static int |
GET_MOD_TIME
|
static int |
HELP
|
static int |
LIST
|
static int |
LOGOUT
|
static int |
MAKE_DIRECTORY
|
static int |
MDTM
|
static int |
MFMT
|
static int |
MKD
|
static int |
MLSD
Machine parseable list for a directory |
static int |
MLST
Machine parseable list for a single file |
static int |
MOD_TIME
|
static int |
MODE
|
static int |
NAME_LIST
|
static int |
NLST
|
static int |
NOOP
|
static int |
PASS
|
static int |
PASSIVE
|
static int |
PASSWORD
|
static int |
PASV
|
static int |
PORT
|
static int |
PRINT_WORKING_DIRECTORY
|
static int |
PWD
|
static int |
QUIT
|
static int |
REIN
|
static int |
REINITIALIZE
|
static int |
REMOVE_DIRECTORY
|
static int |
RENAME_FROM
|
static int |
RENAME_TO
|
static int |
REPRESENTATION_TYPE
|
static int |
REST
|
static int |
RESTART
|
static int |
RETR
|
static int |
RETRIEVE
|
static int |
RMD
|
static int |
RNFR
|
static int |
RNTO
|
static int |
SET_MOD_TIME
|
static int |
SITE
|
static int |
SITE_PARAMETERS
|
static int |
SMNT
|
static int |
STAT
|
static int |
STATUS
|
static int |
STOR
|
static int |
STORE
|
static int |
STORE_UNIQUE
|
static int |
STOU
|
static int |
STRU
|
static int |
STRUCTURE_MOUNT
|
static int |
SYST
|
static int |
SYSTEM
|
static int |
TRANSFER_MODE
|
static int |
TYPE
|
static int |
USER
|
static int |
USERNAME
|
Method Summary | |
---|---|
static String |
getCommand(int command)
Retrieve the FTP protocol command string corresponding to a specified command code. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int USER
public static final int PASS
public static final int ACCT
public static final int CWD
public static final int CDUP
public static final int SMNT
public static final int REIN
public static final int QUIT
public static final int PORT
public static final int PASV
public static final int TYPE
public static final int STRU
public static final int MODE
public static final int RETR
public static final int STOR
public static final int STOU
public static final int APPE
public static final int ALLO
public static final int REST
public static final int RNFR
public static final int RNTO
public static final int ABOR
public static final int DELE
public static final int RMD
public static final int MKD
public static final int PWD
public static final int LIST
public static final int NLST
public static final int SITE
public static final int SYST
public static final int STAT
public static final int HELP
public static final int NOOP
public static final int MDTM
public static final int FEAT
public static final int MFMT
public static final int EPSV
public static final int EPRT
public static final int MLSD
public static final int MLST
public static final int USERNAME
public static final int PASSWORD
public static final int ACCOUNT
public static final int CHANGE_WORKING_DIRECTORY
public static final int CHANGE_TO_PARENT_DIRECTORY
public static final int STRUCTURE_MOUNT
public static final int REINITIALIZE
public static final int LOGOUT
public static final int DATA_PORT
public static final int PASSIVE
public static final int REPRESENTATION_TYPE
public static final int FILE_STRUCTURE
public static final int TRANSFER_MODE
public static final int RETRIEVE
public static final int STORE
public static final int STORE_UNIQUE
public static final int APPEND
public static final int ALLOCATE
public static final int RESTART
public static final int RENAME_FROM
public static final int RENAME_TO
public static final int ABORT
public static final int DELETE
public static final int REMOVE_DIRECTORY
public static final int MAKE_DIRECTORY
public static final int PRINT_WORKING_DIRECTORY
public static final int NAME_LIST
public static final int SITE_PARAMETERS
public static final int SYSTEM
public static final int STATUS
public static final int MOD_TIME
public static final int FEATURES
public static final int GET_MOD_TIME
public static final int SET_MOD_TIME
Method Detail |
---|
public static final String getCommand(int command)
command
- The command code.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |