I have an SSIS package that has a ForEach loop
This ForEach loop is set to look in a folder, e.g. \server\path\CompanyA\ for files of type *.txt, and to retrieve the Fully qualified file name
The filename is saved into a User variable User::FileName
When the execution of the package reaches the Data Flow Task, it imports the data from the template file that is defined on the Connection Manager that I set up in order to get the metadata for the column mappings.
How can I get the package to import from the file that the ForEach loop found, instead of the template file?