On Fri, Feb 19, 2010 at 12:12 AM, DevNull 43 <[email protected]> wrote:
> Yes, that's it! so I have a site command already implemented, and want
> to be part of "site mycommand" but also been executed after "dir" or
> "nlist".

I'm pretty sure most clients would be confused by getting multiple
replies back like that.

> So mycommand has method:
>
> public void execute(FtpIoSession session, FtpServerContext
> context,FtpRequest request)
>
> How to invoque this method from FtpLet?

You can't, since neither FtpIoSession not FtpServerContext is
available for Ftplets. How about creating another method on your
command which works without those parameters and call that?

/niklas

Reply via email to