| |
|
| java.lang.Object org.apache.commons.net.ftp.FTPCommand
FTPCommand | final public class FTPCommand (Code) | | 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
FTPCommand.USER USER are provided
where the constant name is the same as the FTP command.
author: Daniel F. Savarese |
Method Summary | |
final public static String | getCommand(int command) Retrieve the FTP protocol command string corresponding to a specified
command code.
Parameters: command - The command code. |
ABOR | final public static int ABOR(Code) | | |
ABORT | final public static int ABORT(Code) | | |
ACCOUNT | final public static int ACCOUNT(Code) | | |
ACCT | final public static int ACCT(Code) | | |
ALLO | final public static int ALLO(Code) | | |
ALLOCATE | final public static int ALLOCATE(Code) | | |
APPE | final public static int APPE(Code) | | |
APPEND | final public static int APPEND(Code) | | |
CDUP | final public static int CDUP(Code) | | |
CHANGE_TO_PARENT_DIRECTORY | final public static int CHANGE_TO_PARENT_DIRECTORY(Code) | | |
CHANGE_WORKING_DIRECTORY | final public static int CHANGE_WORKING_DIRECTORY(Code) | | |
CWD | final public static int CWD(Code) | | |
DATA_PORT | final public static int DATA_PORT(Code) | | |
DELE | final public static int DELE(Code) | | |
DELETE | final public static int DELETE(Code) | | |
FILE_STRUCTURE | final public static int FILE_STRUCTURE(Code) | | |
HELP | final public static int HELP(Code) | | |
LIST | final public static int LIST(Code) | | |
LOGOUT | final public static int LOGOUT(Code) | | |
MAKE_DIRECTORY | final public static int MAKE_DIRECTORY(Code) | | |
MKD | final public static int MKD(Code) | | |
MODE | final public static int MODE(Code) | | |
NAME_LIST | final public static int NAME_LIST(Code) | | |
NLST | final public static int NLST(Code) | | |
NOOP | final public static int NOOP(Code) | | |
PASS | final public static int PASS(Code) | | |
PASSIVE | final public static int PASSIVE(Code) | | |
PASSWORD | final public static int PASSWORD(Code) | | |
PASV | final public static int PASV(Code) | | |
PORT | final public static int PORT(Code) | | |
PRINT_WORKING_DIRECTORY | final public static int PRINT_WORKING_DIRECTORY(Code) | | |
PWD | final public static int PWD(Code) | | |
QUIT | final public static int QUIT(Code) | | |
REIN | final public static int REIN(Code) | | |
REINITIALIZE | final public static int REINITIALIZE(Code) | | |
REMOVE_DIRECTORY | final public static int REMOVE_DIRECTORY(Code) | | |
RENAME_FROM | final public static int RENAME_FROM(Code) | | |
RENAME_TO | final public static int RENAME_TO(Code) | | |
REPRESENTATION_TYPE | final public static int REPRESENTATION_TYPE(Code) | | |
REST | final public static int REST(Code) | | |
RESTART | final public static int RESTART(Code) | | |
RETR | final public static int RETR(Code) | | |
RETRIEVE | final public static int RETRIEVE(Code) | | |
RMD | final public static int RMD(Code) | | |
RNFR | final public static int RNFR(Code) | | |
RNTO | final public static int RNTO(Code) | | |
SITE | final public static int SITE(Code) | | |
SITE_PARAMETERS | final public static int SITE_PARAMETERS(Code) | | |
SMNT | final public static int SMNT(Code) | | |
STAT | final public static int STAT(Code) | | |
STATUS | final public static int STATUS(Code) | | |
STOR | final public static int STOR(Code) | | |
STORE | final public static int STORE(Code) | | |
STORE_UNIQUE | final public static int STORE_UNIQUE(Code) | | |
STOU | final public static int STOU(Code) | | |
STRU | final public static int STRU(Code) | | |
STRUCTURE_MOUNT | final public static int STRUCTURE_MOUNT(Code) | | |
SYST | final public static int SYST(Code) | | |
SYSTEM | final public static int SYSTEM(Code) | | |
TRANSFER_MODE | final public static int TRANSFER_MODE(Code) | | |
TYPE | final public static int TYPE(Code) | | |
USER | final public static int USER(Code) | | |
USERNAME | final public static int USERNAME(Code) | | |
getCommand | final public static String getCommand(int command)(Code) | | Retrieve the FTP protocol command string corresponding to a specified
command code.
Parameters: command - The command code. The FTP protcol command string corresponding to a specifiedcommand code. |
|
|
|