SimpleFTPServer icon indicating copy to clipboard operation
SimpleFTPServer copied to clipboard

Please Fix the Hardcoded Last Modified Time for ESP32 SD

Open qiweimao opened this issue 1 year ago • 2 comments
trafficstars

Line to line in FtpServer.cpp

strcpy(dtStr, "19700101000000");

qiweimao avatar Jun 04 '24 04:06 qiweimao

Hi, It isn't so simple; there isn't an RTC on all MCUs. Bye Renzo

xreef avatar Jun 08 '24 08:06 xreef

Hi,

It isn't so simple; there isn't an RTC on all MCUs.

Bye Renzo

Hi Renzo! How about we add if statement to allow users to choose if they want to use system time? If they have NTP synced, they are safe to use system time.

qiweimao avatar Jun 11 '24 16:06 qiweimao