Hello. I have a Foreach Loop which iterates through a designated folder of CSV files. Inside is a Data Flow Task that writes the file content to my database. This works fine; it iterates through and processes all the files in the folder.
Next I add a File System Task, and make it successfully dependent on the Data Flow Task (below). This task should move the file to an Archive folder.
So what seems to happen is that it processes the first file, moves it, and then starts looking for the SAME file in the SAME place. And of course it fails becuase the file has been moved. Here's a snippet from the execution results.
Does anyone see what's going on here? If I remove the File System Task, everything works fine again. Thanks.