Trustin Lee wrote:
Hi Niklas,

On 1/12/07, Niklas Gustavsson <[EMAIL PROTECTED]> wrote:

Hi

Anyone got any idea as to how I could solve the issue I describe
below? The MINA integration into FtpServer is not full functional,
except for the SSL support :-/


Can I reproduce the problem by myself?  FtpServer is still incubator, so if
you checked in your mina integration code, I could test it by myself with
proper instruction.

Yes, of course. Check out FtpServer from:
http://svn.apache.org/repos/asf/incubator/ftpserver/trunk/

Change to using MINA as the listener implementation in the file:
core/src/java/org/apache/ftpserver/FtpServer.java

listeners.add(new IOListener(serverContext));
should be changed to:
listeners.add(new MinaListener(serverContext));

(you'll need to change imports as well of course).

After that, you'll need to compile ftplet-api and core and then run the tests in ssl-tests, most of which will fail due to this problem.

I'm also working on a minimal test case for you so you might want to wait for that. I want to eliminate the (not unlikely) risk that I've done something wrong.

/niklas

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to