Quantcast
Channel: Questions in topic: "ssis"
Viewing all articles
Browse latest Browse all 813

SSIS: Copy latest and largest file only to another folder

$
0
0
I have to copy a file to different folder from the below files. Source Folder: **C:\Expense** Destination Folder: **C:\Expense_Details** - MonthENd_Expense_01.DAT_C5_20150731 16 mb - MonthENd_Expense_01_CRR.DAT_C5_20150731 1 kb - MonthENd_Expense_01_ERR.DAT_C5_20150731 1 kb Each month sets of files comes to 'Expense' folder. Source folder has previous month files also. **Tasks I have to do** - - Only latest and largest files should be copied. (**MonthENd_Expense_01.DAT_C5_20150731**) not other 2 files and no older files. **Problem I'm facing:** These files' dates in extension itself and every month these extension will be change to different dates. I have to do this in SSIS. **Note: This is not a duplicate question.**

Viewing all articles
Browse latest Browse all 813

Latest Images

Trending Articles



Latest Images