5
5
5h4dow2019-12-11 20:01:29
Google Drive
5h4dow, 2019-12-11 20:01:29

How to download a folder from google drive?

Api drive tried, you can only download single binary files. I need to download a folder with attached files. The folder is public, the owner can be anyone

Answer the question

In order to leave comments, you need to log in

2 answer(s)
5
5h4dow, 2019-12-12
@5h4dow

Solution: Use the APIv2 version, there is a set of child group methods that will represent the child elements of the folder as objects. Approximate algorithm: get a file by id, if it is a folder, use the method described above, download files / look for new folders, etc.

D
Dimonchik, 2019-12-11
@dimonchik2013

api in a loop
, if it does not compress there

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question