Skip to Content
0
Former Member
Jan 30, 2008 at 05:00 AM

Latest 20 News Items from KM

12 Views

Hi,

I have three folders, which holds all the news items (as .xml files). I want to read latest 10 files from the system. At present I am reading all the file names from 3 repositories along with created date and I am sorting all the filenames and displaying latest 10 file names. But the files are increasing day by day and it may cause performance problem to read all the files and sort.

Do we have any other alternative to get latest 10 file names from the folders? Please let me know.

Thanks in advance