More.... If I use the latest version of FTP server (1.0.4) and do a *BasicConfigurator.configure(); *at the start of my test class, the output I get is:
0 [main] INFO org.apache.ftpserver.impl.DefaultFtpServer - FTP server started 0 [main] DEBUG org.apache.ftpserver.listener.nio.NioListener - Suspending listener 0 [main] DEBUG org.apache.ftpserver.listener.nio.NioListener - Listener suspended Suggesting that the listener is suspended. On Tue, Sep 14, 2010 at 12:57 PM, Niklas Gustavsson <[email protected]>wrote: > On Tue, Sep 14, 2010 at 1:40 PM, Aidan Diffey <[email protected]> > wrote: > > I tried the suspend() command on the listener, but I could still make an > FTP > > connection to the IP address and port. A netstat -an also shows me the > > ip-address and port are LISTENING. > > Just tested and this is not the behavior I'm seeing. What OS and > FtpServer version is this on? Also, could you provide some test case > for how your code works? > > /niklas >
