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

Move excel files from sharepoint library to a local folder using SSIS

$
0
0

Hi,

I have a sharepoint site which has a document library with some excel files. I want to loop through these files using foreach loop container and copy these to my local folder. I have set up the package with the all the variables as below

@filename = t.xlsx

@filepath = \\sharepointsite\folder

i have a foreach file loop where i set the directory expession to the @filepath  value and on variable mappings map to @filename index 0.

When i run the task it shows that it ran successfully but does not go into the loop.

upon checking the execution results i see a warning that "Warning: The For Each File enumerator is empty. The For Each File enumerator did not find any files that matched the file pattern, or the specified directory was empty."

i have checked and my account that i am using to run ssis package has full access/rights to the sharepoint folders.

where am i going wrong?

thank you in advance

I am


Natalie


Viewing all articles
Browse latest Browse all 24688

Trending Articles



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