1 -------------------------------------------------- 2 StubFtpServer Features and Limitations 3 -------------------------------------------------- 4 5StubFtpServer Features 6 7 * Standalone dummy FTP server. Run either within the same JVM as test code or in a different JVM. 8 9 * Implements common FTP server commands. See {{{stubftpserver-commandhandlers.html}FTP Commands and CommandHandlers}}. 10 11 * Supports active and passive mode data transfers. 12 13 * Works out of the box with reasonable defaults: success reply codes and empty data. 14 15 * Easy to configure command handlers for individual FTP server commands to return success/failure reply codes and custom data. 16 17 * Can verify expected FTP server command invocations. 18 19 * Easy to implement command handlers for other commands or replace existing command handlers. 20 21 * Fully supports configuration within the <<Spring Framework>>. 22 23 * Can be used to test FTP client code written in any language 24 25 26StubFtpServer Limitations 27 28 * Using <<StubFtpServer>> for testing and simulation of non-default scenarios requires 29 some understanding of the FTP Specification and a configuration of the low-level 30 FTP Server commands. 31 32