Script to download all files from google drive

broken image

Developers will need to add more functionality. The methods presented below are for demonstration purposes of this specific activity.

broken image
broken image

I am relying on the excellent base64 extension provided by Juan Antonio, to handle the conversion at the app. The same method, though not necessary, can be used for public files as well. This relies on the files being owned by the google account running the web app.

broken image

This can be done by using a google apps script web app to convert the binary file to a base64 string, which can then be downloaded, as text, to the app, and converted back to a binary file. I have spent much time on methods for getting binary files up to Google Drive (private and public), but until now have not tackled the method for bringing private binary files stored on Google drive into App Inventor apps.

broken image