4 Replies Latest reply: Jan 3, 2017 10:25 AM by Massimo Grossi RSS

    Loading Limited files from a folder

    Yuvraj Killedar

      Dear all,

       

      I have a scenario where daily a file is generated as 'FileName_Date' in a folder.

       

      FileName is common to all files but Date is daily date of the file in DDMMYYYY format.

      e.g.:

      Test_29122016

      Test_30122016

      Test_31122016

      Test_01012017

      Test_02012017..... etc.


      At present there are files from last six months in folder that are created daily.

       

      I have to fetch only those files that are two months previous to current month.

       

      i.e. If today is 03-01-2017 then I have to load files from previous 2 months i.e from start of 01-11-2016 to 03-01-2017.

       

      Kindly provide inputs on mentioned query.

       

      Thanks in advance.