Download multiple Files/Folders in zip from SharePoint Library using Code (rest API, JSOM,jQuery etc)

Shiv Sharma 1 Reputation point
2022-09-14T09:25:02.413+00:00

Hi All,

I had made a Document manage system Kind of page using Rest API html css, showing files and folders in that from SharePoint library, I can able to downloads files, but want folder downloads functionality also in that.

Kindly suggest me code for that

Regards

SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
10,684 questions
SharePoint Development
SharePoint Development
SharePoint: A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.Development: The process of researching, productizing, and refining new or existing technologies.
2,971 questions
SharePoint Server Development
SharePoint Server Development
SharePoint Server: A family of Microsoft on-premises document management and storage systems.Development: The process of researching, productizing, and refining new or existing technologies.
1,608 questions
{count} votes

1 answer

Sort by: Most helpful
  1. RaytheonXie_MSFT 35,391 Reputation points Microsoft Vendor
    2022-09-15T05:38:26.177+00:00

    Hi @Shiv Sharma
    You can refer to following code to download files and folders as zip
    241249-downloadfiles.pdf


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.



Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.