Is there any way to download all the libraries documents not

Posted by Community Admin on 03-Aug-2018 16:47

Is there any way to download all the libraries documents not one by one, but all at once?

All Replies

Posted by Community Admin on 06-Jun-2016 00:00

Hello, we have thousands of documents in multiple libraries. How do I download them all? Thank you.

Posted by Community Admin on 07-Jun-2016 00:00

Hi, 
Please have a look at th following documentation article on how to 
Download documents programatically
http://docs.sitefinity.com/for-developers-download-documents-programatically


You could for example alter it with

var documents = librariesManager.GetDocuments();
foreach (var doc in documents)
    this.DownloadDocument(doc.Id, "~/App_Data/MyDocuments");


Regards,
Dimitri Cools
Telerik
 
Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Sitefinity CMS Ideas&Feedback Portal and vote to affect the priority of the items
 

This thread is closed