Niklas mentions that Apache FtpServer is now available in the snapshot maven repo. Great!
As I mentioned in a previous post on mocking network protocols for testing; mocking is great and the next best thing to having a mock is to embed an in-JVM provider of some network service such as for testing JMS. If you want to create integration tests of your FTP logic you might want to take Apache FtpServer for a spin.
We tried using it to unit test the new FTP/SFTP/WebDAV component in Apache Camel and it worked a treat! :)