Find the mistake in how this code checks the server's reply after connection:
if(!FTPReply.isPositiveCompletion(ftp.getReply())) {
System.err.println("Connection failed");
}
Find the mistake in how this code checks the server's reply after connection:
if(!FTPReply.isPositiveCompletion(ftp.getReply())) {
System.err.println("Connection failed");
}