ListenerFactory listenerFactory = new ListenerFactory();
// set the port of the listener
listenerFactory.setPort(port);
listenerFactory.setIdleTimeout(60000);
// replace the default listener
serverFactory.addListener("default", listenerFactory.createListener());
}
private void setupUserManagerFactory(FtpServerFactory serverFactory) throws IOException
{
PropertiesUserManagerFactory userManagerFactory = new PropertiesUserManagerFactory();