summaryrefslogtreecommitdiff
path: root/tags/2.1/src/site/apt/stubftpserver-features.apt
blob: cf43ef2674a3cbdf19046abdef0e59c63fdd84f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
		--------------------------------------------------
				StubFtpServer Features and Limitations
		--------------------------------------------------

StubFtpServer Features

  * Standalone dummy FTP server. Run either within the same JVM as test code or in a different JVM.

  * Implements common FTP server commands. See {{{stubftpserver-commandhandlers.html}FTP Commands and CommandHandlers}}.
  
  * Supports active and passive mode data transfers.

  * Works out of the box with reasonable defaults: success reply codes and empty data.
  
  * Easy to configure command handlers for individual FTP server commands to return success/failure reply codes and custom data.
  
  * Can verify expected FTP server command invocations.
  
  * Easy to implement command handlers for other commands or replace existing command handlers.

  * Fully supports configuration within the <<Spring Framework>>.
  
  * Can be used to test FTP client code written in any language
  

StubFtpServer Limitations

  * Using <<StubFtpServer>> for testing and simulation of non-default scenarios requires
    some understanding of the FTP Specification and a configuration of the low-level
    FTP Server commands.