rdp4j
rdp4j copied to clipboard
Not connecting to the FTP server
FtpDirectory implements PolledDirectory has listFiles() to get the connection but its not called in the FTPUser class.How the connection is established ???? I am getting the FTPDirectory has com.dt.ftpaccess.FtpDirectory@330bedb4 when I tried to print DirectoryPoller.getPolledDirectories()
It uses the toString()
method of your FtpDirectory
implementation. If toString()
is not implemented the the Default implementation is used from Object.toString()
which usually return what you see.
Try to implement FtpDirectory.toString()
method. Let me know if this helps?
Btw, is your FtpDirectory
implementation the same as in the example in the UserGuide? Then the FTPClient from apache is used for establishing the connection.
/Alex