I have an SSIS variable of type object. I created a for each loop on a share drive and for each iteration i have a script task that is checking a file date and based on the day, i want to store the file name in the object variable.

So if the directory has 100 files and 40 of them match the date criteria, i want to store the 40 file names in the object variable.

Is this possible in a script task using vb?