A user writes:
Hello
I am getting the following error:
Exception in thread "main" com.enterprisedt.net.ftp.FTPException: MLST
is unimplemented.
at
com.enterprisedt.net.ftp.FTPControlSocket.validateReply(FTPControlSocket
.java:923)
at
com.enterprisedt.net.ftp.FTPClient.fileDetails(FTPClient.java:2245)
at ftp.ListFiles.main(ListFiles.java:35)
... when the following line of code is executed:
FTPFile file = ftp.fileDetails(fileName);
The server is telling you that it doesn't implement a command called MLST. This is a more recent feature not supported by all FTP servers. Try using dirDetails() instead.