I have an app that is just to fetch file by file from google drive.
I just need a help to know how to create a folder to save files with path : file:///storage/emulated/0/Android/data/packageName/files. So that it can be accepted in App Console to update my App.file_by_file.aia (25.7 KB)
It is not completely obvious, but from your blocks it appears that you are trying to download the content of the files stored on Google Drive (as evidenced by the url you are using), and store that content in the TinyDB, you do not have any GotFile event blocks. Is this correct? Is this what you are trying to do?
I could be wrong. Why are you trying to convert your "downloaded" files from base64? There is no need to do this ?
file_by_file.aia (25.7 KB)
Here is .aia which is downloading files to /Download/GDFiles/ I don't want to download files to this path.
So, I want to download them by using ASD. I hope you understand me now. Thank you Tim
I want to download more than one hundred .csv files e.g like this
from google drive after click a fetch button but I am affraid that there is wifi disconnected so that after connect to wifi again it will continue from where it was stopped
Also, in your last topic, you did not want to download the contents of the google sheet with the filenames and fileIDs, instead preferring to have a csv file with this data in the assets, because of concerns with wifi/data connection. Which method do you intend to use / or both ?
I have made up an aia project that uses a csv file in the assets to provide the file list, and to then download the files - file by file. A folder called MyFiles is created in the ASD and the files are downloaded there. I used @Juan_Antonio's network extension to test for wifi before allowing the download of files. The blocks should handle a break in wifi, and continue to download files where they left off (it is possible may have a partial file because of a break in wifi, i do not know what Android does in these situations...)