Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
in General by (160 points)
I'm testing my system against an FTP server provided by http://www.drivehq.com/ftp. I can connect OK but ftpClient.dirDetails("."), which used to work with 3.0.2, doesn't work with 4.2.0. There are files in the directory but the method returns an empty FTPFile[].

1 Answer

0 votes
by (160 points)
I've fixed this code by calling ftpClient.dirDetails(directory) before ftpClient.cd(directory). Probably better anyway.