public interface FtpReply
Modifier and Type | Field and Description |
---|---|
static int |
REPLY_110_RESTART_MARKER_REPLY
110 Restart marker reply.
|
static int |
REPLY_120_SERVICE_READY_IN_NNN_MINUTES
120 Service ready in nnn minutes.
|
static int |
REPLY_125_DATA_CONNECTION_ALREADY_OPEN
125 Data connection already open; transfer starting.
|
static int |
REPLY_150_FILE_STATUS_OKAY
150 File status okay; about to open data connection.
|
static int |
REPLY_200_COMMAND_OKAY
200 Command okay.
|
static int |
REPLY_202_COMMAND_NOT_IMPLEMENTED
202 Command not implemented, superfluous at this site.
|
static int |
REPLY_211_SYSTEM_STATUS_REPLY
211 System status, or system help reply.
|
static int |
REPLY_212_DIRECTORY_STATUS
212 Directory status.
|
static int |
REPLY_213_FILE_STATUS
213 File status.
|
static int |
REPLY_214_HELP_MESSAGE
214 Help message.
|
static int |
REPLY_215_NAME_SYSTEM_TYPE
215 NAME system type.
|
static int |
REPLY_220_SERVICE_READY
220 Service ready for new user.
|
static int |
REPLY_221_CLOSING_CONTROL_CONNECTION
Service closing control connection.
|
static int |
REPLY_225_DATA_CONNECTION_OPEN_NO_TRANSFER_IN_PROGRESS
225 Data connection open; no transfer in progress.
|
static int |
REPLY_226_CLOSING_DATA_CONNECTION
Closing data connection.
|
static int |
REPLY_227_ENTERING_PASSIVE_MODE
227 Entering Passive Mode (h1,h2,h3,h4,p1,p2).
|
static int |
REPLY_230_USER_LOGGED_IN
230 User logged in, proceed.
|
static int |
REPLY_250_REQUESTED_FILE_ACTION_OKAY
250 Requested file action okay, completed.
|
static int |
REPLY_257_PATHNAME_CREATED
257 "PATHNAME" created.
|
static int |
REPLY_331_USER_NAME_OKAY_NEED_PASSWORD
331 User name okay, need password.
|
static int |
REPLY_332_NEED_ACCOUNT_FOR_LOGIN
332 Need account for login.
|
static int |
REPLY_350_REQUESTED_FILE_ACTION_PENDING_FURTHER_INFORMATION
350 Requested file action pending further information.
|
static int |
REPLY_421_SERVICE_NOT_AVAILABLE_CLOSING_CONTROL_CONNECTION
421 Service not available, closing control connection.
|
static int |
REPLY_425_CANT_OPEN_DATA_CONNECTION
425 Can't open data connection.
|
static int |
REPLY_426_CONNECTION_CLOSED_TRANSFER_ABORTED
426 Connection closed; transfer aborted.
|
static int |
REPLY_450_REQUESTED_FILE_ACTION_NOT_TAKEN
450 Requested file action not taken.
|
static int |
REPLY_451_REQUESTED_ACTION_ABORTED
451 Requested action aborted: local error in processing.
|
static int |
REPLY_452_REQUESTED_ACTION_NOT_TAKEN
452 Requested action not taken.
|
static int |
REPLY_500_SYNTAX_ERROR_COMMAND_UNRECOGNIZED
500 Syntax error, command unrecognized.
|
static int |
REPLY_501_SYNTAX_ERROR_IN_PARAMETERS_OR_ARGUMENTS
501 Syntax error in parameters or arguments.
|
static int |
REPLY_502_COMMAND_NOT_IMPLEMENTED
502 Command not implemented.
|
static int |
REPLY_503_BAD_SEQUENCE_OF_COMMANDS
503 Bad sequence of commands.
|
static int |
REPLY_504_COMMAND_NOT_IMPLEMENTED_FOR_THAT_PARAMETER
504 Command not implemented for that parameter.
|
static int |
REPLY_530_NOT_LOGGED_IN
530 Not logged in.
|
static int |
REPLY_532_NEED_ACCOUNT_FOR_STORING_FILES
532 Need account for storing files.
|
static int |
REPLY_550_REQUESTED_ACTION_NOT_TAKEN
550 Requested action not taken.
|
static int |
REPLY_551_REQUESTED_ACTION_ABORTED_PAGE_TYPE_UNKNOWN
551 Requested action aborted: page type unknown.
|
static int |
REPLY_552_REQUESTED_FILE_ACTION_ABORTED_EXCEEDED_STORAGE
552 Requested file action aborted.
|
static int |
REPLY_553_REQUESTED_ACTION_NOT_TAKEN_FILE_NAME_NOT_ALLOWED
553 Requested action not taken.
|
Modifier and Type | Method and Description |
---|---|
int |
getCode()
The reply code
|
String |
getMessage()
The reply message, might be multiple lines
|
String |
toString()
Must implement toString to format the reply as described in the RFC.
|
static final int REPLY_110_RESTART_MARKER_REPLY
static final int REPLY_120_SERVICE_READY_IN_NNN_MINUTES
static final int REPLY_125_DATA_CONNECTION_ALREADY_OPEN
static final int REPLY_150_FILE_STATUS_OKAY
static final int REPLY_200_COMMAND_OKAY
static final int REPLY_202_COMMAND_NOT_IMPLEMENTED
static final int REPLY_211_SYSTEM_STATUS_REPLY
static final int REPLY_212_DIRECTORY_STATUS
static final int REPLY_213_FILE_STATUS
static final int REPLY_214_HELP_MESSAGE
static final int REPLY_215_NAME_SYSTEM_TYPE
static final int REPLY_220_SERVICE_READY
static final int REPLY_221_CLOSING_CONTROL_CONNECTION
static final int REPLY_225_DATA_CONNECTION_OPEN_NO_TRANSFER_IN_PROGRESS
static final int REPLY_226_CLOSING_DATA_CONNECTION
static final int REPLY_227_ENTERING_PASSIVE_MODE
static final int REPLY_230_USER_LOGGED_IN
static final int REPLY_250_REQUESTED_FILE_ACTION_OKAY
static final int REPLY_257_PATHNAME_CREATED
static final int REPLY_331_USER_NAME_OKAY_NEED_PASSWORD
static final int REPLY_332_NEED_ACCOUNT_FOR_LOGIN
static final int REPLY_350_REQUESTED_FILE_ACTION_PENDING_FURTHER_INFORMATION
static final int REPLY_421_SERVICE_NOT_AVAILABLE_CLOSING_CONTROL_CONNECTION
static final int REPLY_425_CANT_OPEN_DATA_CONNECTION
static final int REPLY_426_CONNECTION_CLOSED_TRANSFER_ABORTED
static final int REPLY_450_REQUESTED_FILE_ACTION_NOT_TAKEN
static final int REPLY_451_REQUESTED_ACTION_ABORTED
static final int REPLY_452_REQUESTED_ACTION_NOT_TAKEN
static final int REPLY_500_SYNTAX_ERROR_COMMAND_UNRECOGNIZED
static final int REPLY_501_SYNTAX_ERROR_IN_PARAMETERS_OR_ARGUMENTS
static final int REPLY_502_COMMAND_NOT_IMPLEMENTED
static final int REPLY_503_BAD_SEQUENCE_OF_COMMANDS
static final int REPLY_504_COMMAND_NOT_IMPLEMENTED_FOR_THAT_PARAMETER
static final int REPLY_530_NOT_LOGGED_IN
static final int REPLY_532_NEED_ACCOUNT_FOR_STORING_FILES
static final int REPLY_550_REQUESTED_ACTION_NOT_TAKEN
static final int REPLY_551_REQUESTED_ACTION_ABORTED_PAGE_TYPE_UNKNOWN
static final int REPLY_552_REQUESTED_FILE_ACTION_ABORTED_EXCEEDED_STORAGE
static final int REPLY_553_REQUESTED_ACTION_NOT_TAKEN_FILE_NAME_NOT_ALLOWED
int getCode()
String getMessage()
Copyright © 2003–2016 The Apache Software Foundation. All rights reserved.