You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ftpserver-users@mina.apache.org by Nitish Bangera <ba...@gmail.com> on 2011/09/22 17:35:50 UTC

Handle on Ftp Session

Hello,

Can we get the ftp session in FileSystemView or FtpFile apart from the
ftplet? Also, can we come to know about the what connection the user has
logged in from eg:- if he used ssl connection or non ssl connection to
connect to the ftpserver?

-- 
Regards,
Nitish S. Bangera

Re: Handle on Ftp Session

Posted by David Latorre <dv...@gmail.com>.
 Hello,

  The simplest way I can think of is adding a handle of the FtpSession to
your USER. I don't have access to the code here to give you a more detailed
answer, but it should give you the idea :-)




2011/9/24 Nitish Bangera <ba...@gmail.com>

> I figured out the connection mode but can anyone tell me how would i get a
> handle on the FtpSession from the FileSystemView?
>
> Thanks,
> Nitish
>
> On Thu, Sep 22, 2011 at 9:05 PM, Nitish Bangera <bangera.nitish@gmail.com
> >wrote:
>
> > Hello,
> >
> > Can we get the ftp session in FileSystemView or FtpFile apart from the
> > ftplet? Also, can we come to know about the what connection the user has
> > logged in from eg:- if he used ssl connection or non ssl connection to
> > connect to the ftpserver?
> >
> > --
> > Regards,
> > Nitish S. Bangera
> >
>

Re: Handle on Ftp Session

Posted by Nitish Bangera <ba...@gmail.com>.
I figured out the connection mode but can anyone tell me how would i get a
handle on the FtpSession from the FileSystemView?

Thanks,
Nitish

On Thu, Sep 22, 2011 at 9:05 PM, Nitish Bangera <ba...@gmail.com>wrote:

> Hello,
>
> Can we get the ftp session in FileSystemView or FtpFile apart from the
> ftplet? Also, can we come to know about the what connection the user has
> logged in from eg:- if he used ssl connection or non ssl connection to
> connect to the ftpserver?
>
> --
> Regards,
> Nitish S. Bangera
>