You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@mina.apache.org by Bakary Dialaya DJIBA <di...@gmail.com> on 2008/10/31 16:50:14 UTC
[ FTP connection entry point and clienttests not found ]
Hi,
I can not find org.apache.ftpserver.clienttests class.
Also, I want to know the Ftp server entry point to intercept the command
User when login and anwser with my own messages.
Can you give me advices.
--
Bakary,
Re: [ FTP connection entry point and clienttests not found ]
Posted by Niklas Gustavsson <ni...@protocol7.com>.
On Sat, Nov 1, 2008 at 11:29 AM, Bakary Dialaya DJIBA <di...@gmail.com> wrote:
> Its not message only. I What I want more is to check authentication before
> creating the user.
> For eg the user gives login password and I verify integrity and answer
> him... I don't need the user.gen file.
Sounds like you want a custom UserManager.
/niklas
Re: [ FTP connection entry point and clienttests not found ]
Posted by Bakary Dialaya DJIBA <di...@gmail.com>.
On Fri, Oct 31, 2008 at 8:39 PM, Niklas Gustavsson <ni...@protocol7.com>wrote:
> On Fri, Oct 31, 2008 at 4:50 PM, Bakary Dialaya DJIBA <di...@gmail.com>
> wrote:
> > I can not find org.apache.ftpserver.clienttests class.
>
> It's not a class, it is a package in the test sources. It is not part
> of the binary package so you have to get the source.
Thanks.
>
>
> > Also, I want to know the Ftp server entry point to intercept the command
> > User when login and anwser with my own messages.
>
> This can be done using an Ftplet, using a custom Command or a custom
> message. If the only thing you would like is to send a different
> response string, then a custom message is by far the simplest.
Its not message only. I What I want more is to check authentication before
creating the user.
For eg the user gives login password and I verify integrity and answer
him... I don't need the user.gen file.
> See
> here:
> http://mina.apache.org/ftpserver/messages.html
>
> That page needs improvement, for example, the file must be named
> FtpServer.gen. Please ask here or check the DefaultMessageResource
> source for further assistance.
For the message I think that its already done.
Thank a lot,
>
>
> /niklas
>
--
Bakary,
Re: [ FTP connection entry point and clienttests not found ]
Posted by Niklas Gustavsson <ni...@protocol7.com>.
On Fri, Oct 31, 2008 at 4:50 PM, Bakary Dialaya DJIBA <di...@gmail.com> wrote:
> I can not find org.apache.ftpserver.clienttests class.
It's not a class, it is a package in the test sources. It is not part
of the binary package so you have to get the source.
> Also, I want to know the Ftp server entry point to intercept the command
> User when login and anwser with my own messages.
This can be done using an Ftplet, using a custom Command or a custom
message. If the only thing you would like is to send a different
response string, then a custom message is by far the simplest. See
here:
http://mina.apache.org/ftpserver/messages.html
That page needs improvement, for example, the file must be named
FtpServer.gen. Please ask here or check the DefaultMessageResource
source for further assistance.
/niklas