Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

Copy File Operation in SSIS.

$
0
0

  Hello Everyone.,

            I am trying to do a file copy operation from one directory to other through ssis.  destination and source directories are rows in a  table. Is there any control flow that  can help in accomplishing this task.  I know File system can copy the files but the way I want is it should dynamically read the destination file path from the table and also read the source file path from the table and do the copy operation. I am thinking of using for each container and use variables set the destination and source filepaths but I am not quite sure if that would help me accomplish in what I am trying to do.

Also, as it copies each file, I would also like to update a column in the table, saying whether the copy was successful or not.

If anyone could shred some light, it would help a lot.

Thank you  in advance.


Please mark as 'Answer', if the solution solves your problem.


Viewing all articles
Browse latest Browse all 24688

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>