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

Create Folders Dynamically by looping in a database table and move the files in the folder

$
0
0

I am new to SSIS, and would like to seek help in doing some requirements.  I need to create Folders based on the records of a certain table and download files from the same table and move files to related folder created.  For example, my table contains the records below:

UsersNumber                         VersionData

481802                     481802__FW: Advisory Action mailed 07/07/14 // 47004.000750.html
481802                     481802__47004.000750.Advisory.pdf
511278                     511278__Payment of Issue Fee // 72167.020263.html
511278                      511278__IF.pdf
481802                      481802__Advisory Action mailed 07/07/14 -- 47004.000750.html
481802                      481802__47004.000750.Advisory.pdf
523352                      523352__47004.000806.FR.pdf
523352                        523352__47004.000806.INTADec.pdf

I need to create folders based on the UserNumber field, i.e. I need SSIS to dynamically create the folders 481802,481802,511278 and download files from versionData and move files to UserNumber

 

Can anyone show me the steps to do this?  Thank you in advance.


Viewing all articles
Browse latest Browse all 24688

Trending Articles



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