Click here to Skip to main content
15,886,137 members
Please Sign up or sign in to vote.
4.33/5 (2 votes)
See more:
Hi All,

I am new to vb.net scripting in ssis. i have two tables. i have source folder and destination folder.i have to move files from source folder to destination folder.these files path and name are specified in table. suggest me a logic such that i should not process the files which are there in destination folder. there are around 600 files coming monthly. i have to create a list such that it consists of files which are not there in destination folder. destination path will be there in other table
Posted
Updated 17-Dec-13 20:30pm
v3
Comments
Maciej Los 18-Dec-13 2:40am    
My 5 for the question, but...
Could you be more specific and provide more details?
What have you done till now? Where are you stuck? What is the hardest thing to understand?

1 solution

Please, read my comment first.

Here is an idea: Foreach Loop Container[^]

TN wrote:
SQL Server Integration Services provides the following enumerator types:

  • ...
  • Foreach File enumerator to enumerate files in a folder. The enumerator can traverse subfolders. For example, you can read all the files that have the *.log file name extension in the Windows folder and its subfolders.
  • ....
 
Share this answer
 
Comments
Maciej Los 18-Dec-13 8:53am    
Do not repeat a question in comment! If you have any specific question to my answer, please, ask...
vamshi182013 18-Dec-13 10:18am    
Hi Maciej Los

sory some problem was there. thanks for your response.i am using script task..what it does is it gets the file from source and put it into destination.i am using script task because i have other process to be done..think is i have to get the files that are processed and put it in a list.then i have to write query in vb.net such that it has to process files that are not processed.i used for each loop in vb.net for that
Maciej Los 18-Dec-13 10:23am    
And...
Please, follow the link, read article carefully and comply to TechNet instructions.
vamshi182013 20-Dec-13 9:12am    
hi maciej los i want to do it through script task for flexibility.i want to do it through coding not with for each loop..

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900