simply perfect,
frank
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



--

Frank Buloup

04 91 17 22 71

Institut des Sciences du Mouvement

UMR 6233 CNRS & Université de le Méditerranée

163 avenue de Luminy

13288 Marseille Cedex 9

Fax : 04 91 17 22 52

Reply via email to