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

SSIS: File Transfer Question

$
0
0

Hi Friends, Greetings,

I have certain files in different folders (Example SP--> a.sql,  b.sql , c.sql..Data-->abc.txt, abe.txt and more)
I have the list of files stored in One Excel file.

My goal is to transfer files which are listed in the excel from one place to another (Folder to Folder in the same Server.)

Example
My Excel File contains Below list

Type       FIleName

SP            a.sql
SP            b.sql
Data        abc.txt
Data        abd.txt
Function  Fun1.sql
Function  Fun2.sql

I have same folders at two places (Package don't need to create folder structure),

For example I have three folders at C: Drive and D: drive (folder names are SP, Data and Function)  (C: Drive will be Source with all files in the folder and D: will be destination with empty folders)

These folder can have so many files in it(example SP folder can have 100 procedures in it), But my task is to copy only those files which are provided in above excel List.

Friends, I am sorry for poor explanation. Please do the needful.

Thanks in advance
Parixit Chauhan



Viewing all articles
Browse latest Browse all 24688

Trending Articles



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