hey everyone,
I've used a few ports on the esp32(both micropy and lua-rtos) but I've reverted back to the arduino IDE.
I've got wifi connectivity, http and sockets going.
I'm trying to move a little closer to my overall goal, but can't seem to find too much on it.
Essentially I'd like to read in a txt file from an sdcard and publish it to google drive. I can't seem to find any functions which allow a file to be streamed directly, so I have a feeling I need to read in chunks of the sdcard into a buffer and send it section by section?
Are there any examples or could anyone provide some advice as to how I can accomplish this?
Thanks in advance!
Stream sdcard data
Re: Stream sdcard data
There is a REST API for uploading files to google drive.
John A
John A
Re: Stream sdcard data
Fly135,
thank you for the reply.
Are you referring to using the following?
https://developers.google.com/drive/api ... ple-upload
thank you for the reply.
Are you referring to using the following?
https://developers.google.com/drive/api ... ple-upload
Re: Stream sdcard data
Yes. I didn't look into it much and was confused as to where you assign the file name. But I also saw that Goggle Drive doesn't directly support FTP, so figured the REST API was the best option.
John A
John A
Who is online
Users browsing this forum: Bing [Bot] and 112 guests