On Tue, Dec 23, 2008 at 2:42 PM, Mahboob Alam Khalid <[email protected]> wrote: > I can do some thing when user login or logout in Ftplet class. But my > problem that Java program says to shutdown server, then at that I want > to check whether is there any user connected, if not then shutdown the > server. > > Is there any method to check connected users in FTPserver?
You can get the active sessions from each Listener, if you're running FtpServer embedded in your application. If you're running it standalone your out of luck with the current code. /niklas
