SPIFFS send multiple files with http post

Good evening,

i’m saving every 20sec variables to a new file on spiffs. at every loop i would like to send the files with http post to the server. if there is no “good” answer from server the measurement should continue (and the new file should be written)if answer from webserver is “good” then the file should be deleted from spiffs

writing the files with timestamp to spiffs is working but i have no idea how to read every single file and send it to the server :slight_smile: ;D

please give me some advice how i can solve this issue

best regards and thanks!
Martin

Dokhra:
...if answer from webserver is "good" then the file should be deleted from spiffs...

Deleting is AFAIK overWRITING the old value.
Flash memory has a limited amount of WRITES before it fails.
Maybe better to IGNORE old values (use a new cell), or to only store failed responses.

Read the "how to post" sticky that you can find on top of every main page.
And this guide.
Leo..