-->
Page 1 of 1

LittleFS: seek for write- overwritting end of a file

PostPosted: Mon Mar 01, 2021 5:00 am
by fanfanlatulipe26
Hi,
Context: using LittleFS on ESP8266 .a file is opened in append mode.
I want to overwrite some data at the end of the file and add new data.
Using seek(), I can't manage to do that.
It seems that the write are always done at the end of the file.

In an other context, Arduino Pro Mini / SdFat file system, it works perfectly.
Any idea ??
Regards