0 / 60 seg.

Find the mistake in how this code checks the server's reply after connection:

if(!FTPReply.isPositiveCompletion(ftp.getReply())) {
    System.err.println("Connection failed");
}