That appears to be the correct way. What exactly you mean by "has no effect"? What happens if you connect to the server with an FTP Client, stay idle for about 10 seconds, and try to do some thing such as transferring a file or changing the working directory? Also, some FTP clients like FileZilla re-establish a connection when they detect a connection failure. Please make sure that it is not the case with you.
Sai Pullabhotla www.jMethods.com On Wed, May 20, 2009 at 6:59 AM, Johannes Katelaan <[email protected]>wrote: > Hi, > > I embedded Apache FtpServer 1.0.1 into my application. The intended > functionality is implemented completely and it's working fine. > > Now I tried to set an idle timeout of 10 seconds as follows: > > ListenerFactory lf = new ListenerFactory(); > lf.setIdleTimeout(10); > > This seems to have no effect at all. Also the default idle timeout seems to > be "infinite". > > Please help! Is this the correct way to set the idle timeout? > > Regards > > Johannes > > >
