I have a business object that contains a method to FTP files to a remote server. This method creates an SSLFTPClient object, sets it up, logs in, and then calls the put command. The put() succeeds without error, but the result is a zero length file being created on the FTP server.
The business object is a JMX MBean running within a JBoss J2EE application server. When I execute the same code from a test case outside of the application server there are no problems, the file is the correct size.
Anyone have experience with running SSLFTPClient in a J2EE environment?
- M