428429430431432433434435436437438439440441442443444
} } public static void safeDisconnect() { BasicConnection con = remoteDir.getCon(); if((con != null) && con.isConnected()) { try { con.disconnect(); } catch(Exception ex) { } }
10071008100910101011101210131014101510161017
Log.out("finished check..."); } public static ConnectionHandler getConnectionHandler() { BasicConnection con = remoteDir.getCon(); if((con != null) && con instanceof FtpConnection) { return ((FtpConnection) con).getConnectionHandler(); }
11881189119011911192119311941195119611971198119912001201120212031204
{ int x = localConnectionPanel.getSelectedIndex(); if(x > 0) { BasicConnection con = localDir.getCon(); if((con != null) && con.isConnected()) { try { con.disconnect(); } catch(Exception ex) { } }
614615616617618619620621622623624
if((JFtp.remoteDir == null) || (p == null) || p.trim().equals("")) { return false; } BasicConnection c = JFtp.remoteDir.getCon(); if((c != null) && (c instanceof FtpConnection)) { FtpConnection con = (FtpConnection) c;