On Wed, Apr 6, 2011 at 7:14 PM, Sai Pullabhotla <[email protected]> wrote: > I think the OP wants to have a way to kill any active sessions in the > FTP server. I'm assuming he would have a GUI where he can see the > active sessions, and select one or more sessions and disconnect them. > Is this what you want Frank?
Ah, thanks for explaining the use case. In that case, all active session can be retrieved using Listener.getActiveSessions(). Iterating over the sessions, finding the one you want to kill, you can then call session.close() to disconnect the client. /niklas
