+1-888-365-2779
Try Now
More in this section

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

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

2 posts, 0 answered
  1. Inna
    Inna avatar
    97 posts
    Registered:
    08 Jun 2012
    06 Jun
    Link to this post
    Hello, we have thousands of documents in multiple libraries. How do I download them all? Thank you.
  2. Dimitri Cools
    Dimitri Cools avatar
    80 posts
    Registered:
    07 Dec 2016
    07 Jun
    Link to this post
    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
     
2 posts, 0 answered