On Mon, Oct 20, 2008 at 9:22 PM, Sisk, Brad <[EMAIL PROTECTED]> wrote: > Of course, this makes it useless for enterprise applications, which > don't provide a way to remotely call a main() method in a Main class. > Spring has no way to, for the same reason. The FtpServer instance Can be > instantiated, and Can be started---it just will never accept any > connections.
Can you please stop spreading FUD. There has been several attempts to show you ways to do this, all of which are used by other users of FtpServer. Successfully. You won't get a lot of help by spreading misinformed rumors around here. I've asked you several times for your configuration and code in an attempt to help you, but to no avail. And, if you think about it, there is something magical with the main() method that would make some crazy things to FtpServer and make everything work, think again. Starting FtpServer from main(), using the approach Ralph showed you, using the example posted by David, using Springs init-method and any other Java way, will be the exact same to FtpServer. /niklas
