Upload a txt file to Internet - ESP8266

Hello everyone! Hope you're well!

I'm working on a project where I read data from many sensors and upload it to Internet via IFTTT. The fact is, that this works fine, but I want a way to back up that data, just in case there's any inconvenience with the Internet connection.

So, I'm planning to save that data in a microSD card, updating it as a .txt file, and after a certain time (and/or when the Internet connection is available again), upload it to Internet.
Here's where I'm asking for your advice, because I want to know if there's a way to send/upload that .txt file to a remote server (like Google Drive, for instance).

I've seen many examples that put that .txt file in a local web server, (either HTTP or FTP).

Thanks in advance!

may be this can help ?

https://create.arduino.cc/projecthub/phpoc_man/arduino-take-picture-upload-to-google-drive-2d1cd3

Thanks! I'll check later if it works with .txt files instead of pics!

it's just a matter of pushing the bytes, so it should.

I hope so! Thanks for your answer, I'll tell you about my tests asap!

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.