1 MockFtpServer version ${project.version} 2 ------------------------------------------------------------------------------- 3 ${project.url} 4 5 The MockFtpServer project provides mock/dummy FTP server implementations for testing FTP client 6 code. Two FTP Server implementations are provided, each at a different level of abstraction. 7 8 FakeFtpServer provides a higher-level abstraction. You define a virtual file system, including 9 directories and files, as well as a set of valid user accounts and credentials. The FakeFtpServer 10 then responds with appropriate replies and reply codes based on that configuration. 11 12 StubFtpServer, on the other hand, is a lower-level "stub" implementation. You configure the 13 individual FTP server commands to return custom data or reply codes, allowing simulation of 14 either success or failure scenarios. You can also verify expected command invocations. 15 16 MockFtpServer is written in Java, and is ideally suited to testing Java code. But because 17 communication with the FTP server is across sockets and TCP/IP, it can be used to test FTP client 18 code written in any language. 19 20 See the online documentation for more information. 21 22 See the FTP Protocol Spec (http://www.ietf.org/rfc/rfc0959.txt) for information about 23 FTP, commands, reply codes, etc.. 24 25 DEPENDENCIES 26 27 MockFtpServer requires 28 - Java (JDK) version 1.4 or later 29 - The Log4J jar, version 1.2.13 or later, accessible on the CLASSPATH 30 (http://logging.apache.org/log4j/index.html). 31