microsoftgraph / msgraph-sdk-php

Microsoft Graph Library for PHP.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Download entire folder at once

kukukk opened this issue · comments

Hi,

Is it possible to download an entire folder at once with the graph API? The folder contains quite a lot of files, and downloading the content of each file one by one would required a lot of time and requests. Also, a retry mechanism would have to be implemented in case of any of them fails for some reason.

When visiting the folder in Sharepoint there is a download action in the context menu, which zips the whole folder and downloads it as a zip archive. Is it possible to achieve this functionality programatically in any way?

If it is not possible at all at the moment, is there any plan to implement this functionality?

Thank,
Szabolcs Balogh

Hi @kukukk,
Thank you for reporting this issue. This appears to be an issue or limitation with the service APIs. Unfortunately, as the Microsoft Graph SDK team, we do not have ownership of the APIs that are causing you issues. We invite you to create a question about the service API to Microsoft Q&A and tagged with one of the [microsoft-graph-*] tags, that way it will get routed to the appropriate team for them to triage:

https://aka.ms/msgraphsupport or directly https://aka.ms/askgraph

For now, we will close the issue on our side but feel free to open it in the relevant repository if you think the issue is specific to SDK.

Check the discussion Here which is closely related to what you're trying to achieve.

Please let us know if this helps!