Home | History | Annotate | Download | only in apt
      1 		--------------------------------------------------
      2 				StubFtpServer Features and Limitations
      3 		--------------------------------------------------
      4 
      5 StubFtpServer 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   * Use a dynamically chosen free port number for the server control port instead of using the default (21)
     22     or hard-coding some other value (set the serverControlPort property of the server to 0).
     23 
     24   * Fully supports configuration within the <<Spring Framework>>.
     25   
     26   * Can be used to test FTP client code written in any language
     27   
     28 
     29 StubFtpServer Limitations
     30 
     31   * Using <<StubFtpServer>> for testing and simulation of non-default scenarios requires
     32     some understanding of the FTP Specification and a configuration of the low-level
     33     FTP Server commands.
     34   
     35