public class FTPReply extends Object
| Constructor and Description |
|---|
FTPReply(BufferedReader inputStream) |
| Modifier and Type | Method and Description |
|---|---|
int |
getCode()
Gets server reply code from the control port after an ftp command has
been executed.
|
String |
getReplyString()
Gets server reply string from the control port after an ftp command has
been executed.
|
boolean |
isPositiveCompletion()
Determine if a reply code is a positive completion response.
|
boolean |
isPositiveIntermediate()
Determine if a reply code is a positive intermediate response.
|
boolean |
isSuccess() |
public FTPReply(BufferedReader inputStream) throws IOException
IOExceptionpublic int getCode()
throws IOException
IOExceptionpublic String getReplyString() throws IOException
IOExceptionpublic boolean isSuccess()
public boolean isPositiveCompletion()
public boolean isPositiveIntermediate()