SSIS to load files from two SFTP location.

  • Hi How to load files with similar format , from two different locations into same database with same ssis.

    Lets say

    Location 1: C:\LoadFiles\Cust1\APP_123445.txt

    Location 2: D:\LoadFiles\cust2\VDD_543121.txt

    Currently we have one ssis which loads and process files from C:\LoadFiles\Cust1 only. we have to modify the existing package it to load files from Location 2 (D:\LoadFiles\cust2) as well. Also while loading, the ssis should assign a value to existing column CustID depending upon the file name. File names always start with APP_ in first location. VDD_ in second location

    Assign CUSTID as 100 if file name starts with APP_

    Assign CUSTID as 200if file name starts with VDD_

  • you can use looping feature of SSIS and pass the variable as and when require

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply