> I have a single FTPLet coded that uses the beforeCommand and afterCommand. > The afterCommand on PASS sets the client IP address and the > MessageEndpointFactory. > > > When the NIOListener receives an RETR (from the server on any of the Virtual > IP addresses), it goes through the normal RETR class in Apache FTP server > and calls the MySystemFactory and classes in order to get the > ByteArrayOutputStream.
To reduce the test case further, could you remove the IP handling stuff, the DAOs and the zipping and simple return a constant byte array. Are you still seeing the same problem? If so, please provide that as a use case. /niklas
