private Map getNewFilesName(FTPClient client) {
FTPFile[] ftpFs;
Map result = new HashMap();
try {
ftpFs = client.listFiles();
UpdateTimerDao uTimerDao = WOJServer.getInstance().getDataService().getUpdateTimerDao();
UpdateTimer[] timers = uTimerDao.getAllTimers();
fillUploadMap(result, ftpFs, timers);
} catch (IOException e) {
LOGGER.warn("Unable to get list of FTP files");
}
return result;