if (line.startsWith("total"))
continue;
try {
fileInfo = new FileInfo(line);
} catch (FTPException e) {
ClientException ce =
new ClientException(
ClientException.UNSPECIFIED,
"Could not create FileInfo");
ce.setRootCause(e);
throw ce;
}
fileList.addElement(fileInfo);
}
return fileList;