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

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

 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?
  • Hello, we have thousands of documents in multiple libraries. How do I download them all? Thank you.
  • 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