6 Replies Latest reply: Aug 23, 2013 5:57 PM by Aji Paul RSS

    Loading multiple files

      Hi All,

      Need some help with loading multiple files form a remote system.

      There is a base folder and it has many sub folders.

       

      I need to conditionally load all the files from the lowest level

      Ex. C:\CAMP_BASE

              C:\CAMP_BASE\OCT-10

              C:\CAMP_BASE\NOV-10

              C:CAMP_BASE\ARCH        <------------------------ Skip folder

            C:CAMP_BASE\ARCH\\NOV-10\FILE_FOLD1 <- Skip

              C:CAMP_BASE\SOMEOTHER <-------------------Skip folder

              C:\CAMP_BASE\OCT-10\FILE_FOLD1

              C:\CAMP_BASE\OCT-10\FILE_FOLD2

              C:\CAMP_BASE\NOV-10\FILE_FOLD1

              C:\CAMP_BASE\OCT-10\FILE_FOLD1_REDO_T <-------------------Skip folder

             C:\CAMP_BASE\OCT-10\FILE_FOLD1_REDO_T\OCT-10\FILE_FOLD1 <--- Skip

       

       

      Condition 1 : skip all the folders that do NOT have "-" in the name

      Condition 2 : In the next level skip any folder  with a name contains word "REDO"

       

      So that I will end up with the following folders

      C:\CAMP_BASE\OCT-10\FILE_FOLD1

         

      C:\CAMP_BASE\OCT-10\FILE_FOLD2

       

        C:\CAMP_BASE\NOV-10\FILE_FOLD1

       

      Any Idea?

       

      Thanks,

      Aji Paul.