Skip to Content
0
Jul 14, 2006 at 06:18 AM

How to Select the Latest file from Application Server?

565 Views

Dear All,

I am working on object, which had requirement to Pick the file from application server.

The Application server contain the files in ‘/temp/sms/’ directory. The files are having the name Like ‘smsqry_yyyymmddhhmmss.txt’ and I have to Pick the Latest file (Base on file name for eg. 'smsqry_20060713102333’) from that all and after getting the file I have to delete the file from application server.

So How to do this.

Regards