Description
Hi
We use FTPServer 1.0M2 as an embedded FTPServer for unit testing Apache Camel FTP component. Great work BTW:
Example:
Running org.apache.camel.component.file.remote.FromFtpMoveFileTest
######org.apache.ftpserver.filesystem.NativeFileSystemView@11e67ac
######org.apache.ftpserver.filesystem.NativeFileSystemView@11e67ac
######org.apache.ftpserver.filesystem.NativeFileSystemView@11e67ac
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.188 sec
We setup the FTPServer as:
ftpServer = new FtpServer();
ftpServer.getListener("default").setPort(getPort());
ftpServer.start();