I am working on application in which six FTP clients are sending images to FtpServer. Occasionally, the client sends a invalid PORT number (PORT 0,0,0,0,0,0). The FtpServer server accepts the port number and starts processing the following STOR command. It sends 150 response. But during the call to openConnection inside STOR.execute( ) an exception is caught and the server responds with code 425. It is causing the FTP client to hang. Is it possible to detect invalid port number and respond with response 451 ?
Thanks Satish Kaveti Software Engineer -------------------------------------------------------- SICK, Inc. Automatic Identification Solutions -------------------------------------------------------- 800 Technology Center Drive Suite 6 Stoughton, MA 02072 USA Direct: 781.302.2525 Phone: 781.302.2500 Fax: 781.828.3150 http://www.sickusa.com
