/** * Tests login functionality. * * @throws Exception unexpected */ @Test public void test02CanLogin() throws Exception { assertTrue(session.login(USER, PASSWORD)); session.enterLocalPassiveMode(); session.setFileType(FTP.BINARY_FILE_TYPE); }