Hi there Naomi Nosonovsky
Thanks for using QandA platform
You can use a Foreach Loop Container in SSIS to loop through files matching patterns like adr_*.txt
, storing the path in a variable and using expressions to set each connection's ConnectionString
. Since the file structures differ, you’ll still need 13 separate Flat File Connections. For footers like 99|00000630
, handle them in a Script Component by skipping rows that start with 99|
, or preprocess the file in a Script Task to remove the footer before loading.
If this helps kindly accept the answer thanks much