We may have talked about these a little bit, I'm posting again to see what you guys think of the following enhancements:
Make a method available in the FtpSession which returns the session ID. Basically, we need to maintain a session for every control connection. This helps determine tracking of a particular session even if simultaneous connections came from the same client machine/router. Change the signature of Command.execute() to return some object. This object should contain all the information about the result of the execution. This object could be FtpResponse or a new object, Result. This result should be made available to the Ftplets afterCommand method so the Ftplet implementations can know all about the result of the command. For example, a RenameResult could contain the from file, to file, file size etc. Where as a RetrieveResult could contain the file that was downloaded, its size and may be how long it took etc. Let me know what you guys think of these changes. Sai Pullabhotla Phone: (402) 408-5753 Fax: (402) 408-6861 www.jMethods.com
