final class FtpControlSocket extends Object
Modifier and Type | Field and Description |
---|---|
private FtpContext |
context |
private Socket |
control |
private BufferedReader |
in |
private BufferedWriter |
out |
private String |
replyline |
(package private) String |
server |
Constructor and Description |
---|
FtpControlSocket(FtpContext context) |
Modifier and Type | Method and Description |
---|---|
(package private) boolean |
completeCommand(String[] replies) |
(package private) boolean |
connect(String server,
int port) |
(package private) void |
disconnect() |
(package private) boolean |
executeCommand(String commandline) |
(package private) boolean |
isConnected() |
(package private) boolean |
manualCommand(String commandline) |
private String |
readLine() |
private String |
readReply() |
(package private) String |
replyOfCommand() |
(package private) boolean |
writeCommand(String commandline) |
private void |
writeLine(String line) |
private BufferedReader in
private BufferedWriter out
private FtpContext context
FtpControlSocket(FtpContext context)
void disconnect()
private void writeLine(String line) throws IOException
IOException
private String readLine() throws IOException
IOException
private String readReply() throws IOException
IOException
boolean manualCommand(String commandline)
boolean executeCommand(String commandline)
boolean writeCommand(String commandline)
boolean completeCommand(String[] replies)
String replyOfCommand() throws IOException
IOException
boolean isConnected()
WebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses