@Test
public void testConnect() {
if(UpdateFTP.configured()){
FTP ftp = new FTP();
try {
ftp.connect(host, port, user, pass);
} catch (IOException e) {
fail("connect fail: " + e.getMessage());
}
System.out.println("ftp connected to: " + host);
try {
ftp.disconnect();
} catch (IOException e) {
fail("disconnect fail: " + e.getMessage());
}
System.out.println("ftp disconnected");