org.apache.commons.net.ftp
public final class FTPCommand extends Object
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 | FILE_STRUCTURE |
| static int | HELP |
| static int | LIST |
| static int | LOGOUT |
| static int | MAKE_DIRECTORY |
| static int | MDTM |
| static int | MKD |
| static int | MODE |
| static int | MOD_TIME |
| 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 | 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.
|
Since: 2.0
Since: 2.0
Parameters: command The command code.
Returns: The FTP protcol command string corresponding to a specified command code.