Hi. I'm trying to implement FTP and SSH connections in my application. The FTP connection was already implemented, so I planned to use the FTPClientFactory class to create either a FTPClient or a SSHFTPClient object, which both implements the FTPClientInterface interface.
The problem is that my application uses the FTPClient.getLastValidReply() method to get the server reply, but neither the SSHFTPClient class nor FTPClientInterface interface has a method to get something similar to a FTPReply object.
Does anybody know how to get the server reply in a SSH connection, if this is possible?
---------
Greets,
Vetinari