Changes in version 2.1 (16 Jun 2009)
------------------------------------------
- Added support for IPv6 (EPRT and EPSV commands) to FakeFtpServer and StubFtpServer. Thanks to Fernando Martinez for testing.
- BUG FIX: #2696898: “WindowsFakeFilesystem DirectoryEntry case sensitivity” (https://sourceforge.net/tracker/?func=detail&atid=1006533&aid=2696898&group_id=208647).
- BUG FIX: #2797980: “UnixFakeFileSystem IsValidName Regex incorrect” (https://sourceforge.net/tracker/?func=detail&atid=1006533&aid=2797980&group_id=208647).
- Add getServerControlPort() to AbstractFtpServer.
- Create HostAndPort class. Refactor both PortCommandHandler(s) and the PortParser classes to use HostAndPort.
- TESTS: Convert PortParserTest to Groovy.
This is a bug fix release.
Changes in version 2.0.2 (09 Mar 2009)
------------------------------------------
- BUG FIX: #2654577: 'month' in UnixDirectoryListingFormatter is Locale specific. http://sourceforge.net/tracker/index.php?func=detail&aid=2654577&group_id=208647&atid=1006533.
- BUG FIX: #2653626: Cannot start() server after calling stop(). https://sourceforge.net/tracker2/index.php?func=detail&aid=2653626&group_id=208647&atid=1006533.
This is a bug fix release.
Changes in version 2.0.1 (09 Feb 2009)
------------------------------------------
- BUG FIX: #2543193 “"cd .." and "pwd" don't work properly together” - BUG FIX: #2540548 “Missing new line on directory listing”
- BUG FIX: #2540548 “Missing new line on directory listing”
- BUG FIX: #2540366 “FileEntry.setContents( byte [] contents ) change the content”
The MockFtpServer project provides a mock/dummy FTP server implementations that can be very useful for testing of FTP client code.
MockFtpServer version 2.0 includes a new "fake" implementation of an FTP server. It provides a high-level abstraction for an FTP Server and is suitable for most testing and simulation scenarios. You define a virtual filesystem (internal, in-memory) containing an arbitrary set of files and directories. These files and directories can (optionally) have associated access permissions. You also configure a set of one or more user accounts that control which users can login to the FTP server, and their home (default) directories. The user account is also used when assigning file and directory ownership for new files.
This contains a fix to a minor but embarassingly obvious bug (ClassCastException) when shutting down the FakeFtpServer or StubFtpServer.
Version 2.0-rc2 includes support for STAT and SMNT commands, as well as bug fixes and code cleanup and refactoring. If all goes as expected, this should be pretty much be what gets released as 2.0 (final).
See online documentation for more information.
Version 2.0-rc1 includes a NEW FakeFtpServer. This is an alternative "mock" FTP server implementation. FakeFtpServer provides a higher-level abstraction (than StubFtpServer). You define a virtual file system, including directories and files, as well as a set of
valid user accounts and credentials. The FakeFtpServer then responds with appropriate replies and reply codes based on that configuration. See online documentation for more information. ... read more
This release contains a bug fix for issue #1925590 -- StubFtpServer hangs on faster machines (if server thread is faster than main thread)
Version 1.2.1 is available now. The only changes from version 1.2 is to the Maven POM (pom.xml) for the project to allow it to be available from the Maven Central Repository(groupId=org.mockftpserver; artifactId=MockFtpServer; version=1.2.1)