Quantcast
Channel: SharePoint 2013 - Development and Programming forum
Viewing all articles
Browse latest Browse all 7589

How can I download a particular file from SharePoint document library using CSOM

$
0
0

Hi All,

I have few file urls on different libraries or under different folder hierarchy  on SharePoint site, and I need to download only those files (not other) like given below.

1. Http://example.com/sites/Site1/Lib1/Sample1.pdf

2. Http://example.com/sites/Site1/Lib2/Sample2.pdf

3. Http://example.com/sites/Site1/Lib1/Lib2/Sample3.pdf

Is there any method to download those files directly by passing the full url,I can do it by WebClient but I am not able to do it in CSOM.

Could  you please provide me any working code for this.


Sonu88



Viewing all articles
Browse latest Browse all 7589

Trending Articles



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