help me in coping millions small files

Posted by Syedkhaja under C# on 11/26/2012 | Points: 10 | Views : 863 | Status : [Member] | Replies : 1
hi all..
i got a task to make a program in c# through which we can copy multi million files total size in GB's and paste it in another folder.
how can it possible please send me a code.
Thanks

Syed


Responses

Posted by: Krv on: 11/26/2012 [Member] Starter | Points: 25

Up
0
Down
a. you can use System.IO.File class to loop the folder and get each file one by one and paste it in the des folder
b. To make it faster, you can go for SSIS package, use foreach loop container and do the move option



-------
Mark it as answer if it helps

Thanks,
R.Vasanth
MCTS(SQL Server & BI)
http://bigdatatech.blogspot.com

Syedkhaja, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response