When checking for a successful FTP connection, the method to call is:
if (!FTPReply._____(ftp.getReplyCode())) {
System.err.println("Connection failed");
}
When checking for a successful FTP connection, the method to call is:
if (!FTPReply._____(ftp.getReplyCode())) {
System.err.println("Connection failed");
}