|
|
|
SSC Journeyman
      
Group: General Forum Members
Last Login: Tuesday, March 12, 2013 3:57 AM
Points: 93,
Visits: 237
|
|
Hi,
I have one folder with two files
C:\Pkg\28052012_sample.xlsx
C:\Pkg\29052012_sample.xlsx
Using SSIS 2005 i have loaded the data from the above xlsx file using For each loop container.
Query:
Need to move the file to D:\Archive, after the package successfuly loaded the data.
Could you please let me know the steps?
Regards Sqlstud Regards
Sqlstud
|
|
|
|
|
SSCommitted
      
Group: General Forum Members
Last Login: Tuesday, May 14, 2013 2:24 AM
Points: 1,871,
Visits: 2,692
|
|
|
|
|
|
SSCarpal Tunnel
       
Group: General Forum Members
Last Login: Yesterday @ 9:56 AM
Points: 4,418,
Visits: 7,156
|
|
Or you can use the File System Task built into SSIS.
John
|
|
|
|
|
SSC Journeyman
      
Group: General Forum Members
Last Login: Tuesday, March 12, 2013 3:57 AM
Points: 93,
Visits: 237
|
|
sqlstud (10/16/2012) Hi,
I have one folder with two files
C:\Pkg\28052012_sample.xlsx
C:\Pkg\29052012_sample.xlsx
Using SSIS 2005 i have loaded the data from the above xlsx file using For each loop container.
Query:
Need to move the file to D:\Archive, after the package successfuly loaded the data.
Could you please let me know the steps?
Regards Sqlstud Regards
Sqlstud
is it possible to rename the file after moved to destination folder
Regards Sqlstud
|
|
|
|
|
SSCarpal Tunnel
       
Group: General Forum Members
Last Login: Yesterday @ 9:56 AM
Points: 4,418,
Visits: 7,156
|
|
I'll let you find that out for yourself. Just type "File System Task" into your favourite search engine.
John
|
|
|
|
|
SSC Journeyman
      
Group: General Forum Members
Last Login: Tuesday, March 12, 2013 3:57 AM
Points: 93,
Visits: 237
|
|
sqlstud (10/16/2012) Hi,
I have one folder with two files
C:\Pkg\28052012_sample.xlsx
C:\Pkg\29052012_sample.xlsx
Using SSIS 2005 i have loaded the data from the above xlsx file using For each loop container.
Query:
Need to move the file to D:\Archive, after the package successfuly loaded the data.
Could you please let me know the steps?
Regards Sqlstud Regards
Sqlstud
Thanks Henrico..
I need to move only after the successful loading.....
|
|
|
|