AdamBien/e2ftp — pull request #18 by ZeTo12 (2013-10-08 16:11:05+00:00)
Title: FTP-Server start on startup is now configurable & Introduction of management resource to control FTP-Server

The FTP-Server start on startup (deployment of WebApp or start of application server) is now configurable. Introduced a new configuration parameter "startServerOnStartup" to control the behaviour. The deault behaviour is unchanged. So the FTP-Server starts on startup.

Introduced a management resource to control the FTP-Server.
A GET request to the management resource returns the state of the FTP-Server (running or not running)
A POST request to the management resource starts the FTP-Server.
A DELETE request to the management resource stops the FTP-Server.
A PUT request to the management resource restarts the FTP-Server. (Useful after reconfiguring)