I have a SSIS package that loads csv files from a particular directory, using an expression and a wildcard for picking up all the files.
Currently, the FileSpec
of the container looks for all files with the following format:
fileName_environment_*
and this is working fine. A second set of files are now bing loaded from the same directory, and to distinguish these, the file format is:
fileName_environment_business_*
So, the second SSIS package picks up only the new files since the structure of the files will look like:
filename_environment_abc
filename_environment_def
filename_environment_xyz
filename_environment_business_abc
filename_environment_business_def
filename_environment_business_xyz
but the first package will process all files.
So, the question is, can I set the FileSpec
of the first SSIS package to ignore the files which are in the format:
fileName_environment_business_*