Link to home
Start Free TrialLog in
Avatar of svs1919
svs1919

asked on

SSIS-Copy files

I have bunch of files that I need to copy,but issue is that the file name is same but extensions are something like this .txt0,.txt1,.txt2 etc. So how can I create a SSIS package that could loop through these files and copy these files?
Avatar of Jim Horn
Jim Horn
Flag of United States of America image

You should be able to use a ForEach File Loop, using something like file_name_here.*, capturing the return file name, and process accordingly.
Avatar of svs1919
svs1919

ASKER

Jim actually file name for those files is same only extensions are different some thing like this test.txt1,test.txt2,test.txt3
ASKER CERTIFIED SOLUTION
Avatar of svs1919
svs1919

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of svs1919

ASKER

I can accomplish this using batch file