// Here's the hack. Instead of instantiating a defaultftphandler
// we use the one supplied in the constructor
//////////////////////////////////////////
acceptor.setHandler(new FtpHandlerAdapter(context, handler));
try {
acceptor.bind(address);
} catch (IOException e) {
throw new FtpServerConfigurationException("Failed to bind to address " + address + ", check configuration", e);