Re: Getting user information from the FtpSession

2011-04-15 Thread Niklas Gustavsson
On Fri, Apr 15, 2011 at 1:10 PM, Nitish Bangera bangera.nit...@gmail.com wrote: How do we get the user information from a particular Ftp session when he logs into the FTP server using a FTPclient? Please provide more context. From where do you want to get this information? An Ftplet? /niklas

Re: Getting user information from the FtpSession

2011-04-15 Thread Niklas Gustavsson
On Fri, Apr 15, 2011 at 1:55 PM, Nitish Bangera bangera.nit...@gmail.com wrote: Yes from an Ftplet for a given FTP session. Override onLogin() in DefaultFtplet. You can get the user information from session.getUser(). /niklas