Re: ContextListener Example NetBeans Project

2008-10-20 Thread Sisk, Brad
Thanks, David. Yes, that is the XML I tested it with. Server runs no prob, but never accepts any connection from clients (although it did prior to that change). Oh well, I guess that approach was another dead end. To avoid letting this thing affect my career, I've decided to try 2

Anyone Else Deploy FTPServer to an App Server...what approach do you use to start FTPServer, deployed?

2008-10-15 Thread Sisk, Brad
Have any of you deployed FTPServer to an Application Server? For example, as part of Spring? If so, what approach do you use to have the AppServer start, stop FTPServer? To kick it off initially, did you write a shell script or batch file which calls a main() method in your code, and

Any simple way to make Spring auto-call start() on FtpServer when it is registered using the server tags?

2008-10-14 Thread Sisk, Brad
Can anyone recommend a simple way to force Spring to automatically call FTPServer.start() when Spring gets an instance of it through BeanFactory? Keep in mind, FTPServer is not registered with Spring through the applicationContext, but rather using the server /server element configuration file.

Thread-safe way to store pan-session attributes?

2008-10-03 Thread Sisk, Brad
In much the same way as you would set HttpServlet attributes at the Context (container) level, so that there is a single instance of them accessible to ANY Session, I need A way to store an attribute at a Scope higher than Session scope in FTPServer. Just as the FTPSession object has

FW: Thread-safe way to store pan-session attributes?

2008-10-03 Thread Sisk, Brad
In much the same way as you would set HttpServlet attributes at the Context (container) level, so that there is a single instance of them accessible to ANY Session, I need A way to store an attribute at a Scope higher than Session scope in FTPServer. Just as the FTPSession object has

About Writing custom FTPlets

2008-09-30 Thread Sisk, Brad
I am hoping to use FTPlets. You launch FTPServer by running a batch file, which runs an executable Jar. But the classes used by FTPServer are all the jarred, compiled class files. I've written a subclass of FTPlet, our own custom FTPlet, according to the FTPlet API. And now, I want that

Ftplets

2008-09-30 Thread Sisk, Brad
With (Http) Servlets, you can use the implicit Session object to get the Context object. This allows you to get generic, statistical, or config information from the Servlet Container-info which is common to all Servlets. Although FTPlets in an FtpletContainer are roughly analogous to Servlets

Broken out of the Box

2008-09-29 Thread Sisk, Brad
The home page for Apache FTPServer claims comes with default anonymous and admin/admin login from first use. I followed the meager install instructions, installing FTPServer v3. It starts and runs fine. But it never accepts the so-called default admin login of username: admin, password: