*
*/
// TODO create a hidden debug-option to activate this listener
if (objConnection2Options != null) {
if (objConnection2Options.ProtocolCommandListener.value() == true) {
listener = new PrintCommandListener(new PrintWriter(System.out));
objFTPClient.addProtocolCommandListener(listener);
}
}
listener = new PrintCommandListener(new PrintWriter(System.out));
// TODO implement as an additional Option-setting
String strAddFTPProtocol = System.getenv("AddFTPProtocol");
if (strAddFTPProtocol != null && strAddFTPProtocol.equalsIgnoreCase("true")) {
objFTPClient.addProtocolCommandListener(listener);
}