};
for (File mlsd : path.listFiles(filter)){
System.out.println(mlsd);
InputStream is = new FileInputStream(mlsd);
FTPListParseEngine engine = new FTPListParseEngine(MLSxEntryParser.getInstance());
engine.readServerList(is, FTP.DEFAULT_CONTROL_ENCODING);
FTPFile [] mlsds = engine.getFiles(FTPFileFilters.ALL);
is.close();
File list = new File(mlsd.getParentFile(),mlsd.getName().replace("_mlsd", "_list"));
System.out.println(list);
is = new FileInputStream(list);
FTPClientConfig cfg = new FTPClientConfig();
cfg.setServerTimeZoneId("GMT");
UnixFTPEntryParser parser = new UnixFTPEntryParser(cfg);
engine = new FTPListParseEngine(parser);
engine.readServerList(is, FTP.DEFAULT_CONTROL_ENCODING);
FTPFile [] lists = engine.getFiles(FTPFileFilters.ALL);
is.close();
compareSortedLists(mlsds, lists);
}
}