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
IOException
public int getCode() throws IOException
IOException
public String getReplyString() throws IOException
IOException
public boolean isSuccess()
public boolean isPositiveCompletion()
public boolean isPositiveIntermediate()