How to use the REST API to recursively download each file in a folder in Powershell #7223
freedbygrace
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
See my example below that is working well enough to get a response and give me a list of files. What I do not understand is why the returned data does not have direct links to download each file or do I need to tie this together with another endpoint in order to conduct the download. Also, when wanting to get a folder that contains other folders recursively with an unknown folder depth, how could one approach this. I don't need the actual code, but even just which endpoints to use and maybe a simple example or pseudo code, then I can abstract my code from that! Thanks in advance!
Also, how can we have the server return hash data for the files so that I can validate if a download is even needed on the client side?
PS - This app is sooooo awesome and very much needed! I look forward to seeing how it will evolve and am glad to contribute also!
This is an example of some results.
Beta Was this translation helpful? Give feedback.
All reactions