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

Validate Excel Filename before upload SSIS

$
0
0

Hi,

i am very new to SSIS. and i was wondering if anyone could help me with this.

I have an SSIS Package that insert excel files to the MS SQL Database. Inside the foreach loop, i have a Data Flow Task which manages the inserting of excel. What i want is before i upload my excel file, (before going through the data flow task) i want to validate the excel filename if its in the correct format(cy##-MMYY-NAME.xls). If yes, it will proceed to the data flow. if not, it must  notify the user via email and/or move the excel file in some other folder. All this validation i want to do inside a Script Task. I am using C#.


I would really be glad if someone could help me with this. Thank You in advance and have a nice day. :)


Viewing all articles
Browse latest Browse all 24688

Trending Articles



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