Looks very useful code. I am having issues compiling it. Following are some error messages at the end :
Arduino: 1.8.9 (Windows 7), Board: "LOLIN D32, Default, 80MHz, 921600, None"
c:\users\wincycle\appdata\local\temp\arduino_build_857363\sketch\servers\file_system.h: In function 'bool writeEntireFileWithoutSemaphore(String, char*)':
c:\users\wincycle\appdata\local\temp\arduino_build_857363\sketch\servers\file_system.h:114:3: error: control reaches end of non-void function [-Werror=return-type]
}
^
In file included from C:\Users\WinCycle\Documents\Arduino\Esp32_web_ftp_telnet_server_template\Esp32_web_ftp_telnet_server_template.ino:233:0:
c:\users\wincycle\appdata\local\temp\arduino_build_857363\sketch\servers\telnetserver.hpp: In static member function 'static bool telnetServer::pingRecv(telnetServer::pingDataStructure, TcpConnection, int)':
c:\users\wincycle\appdata\local\temp\arduino_build_857363\sketch\servers\telnetserver.hpp:883:7: error: control reaches end of non-void function [-Werror=return-type]
c:\users\wincycle\appdata\local\temp\arduino_build_857363\sketch\servers\telnetserver.hpp: In static member function 'static String telnetServer::curl(TcpConnection*, String, String)':
c:\users\wincycle\appdata\local\temp\arduino_build_857363\sketch\servers\telnetserver.hpp:1064:7: error: control reaches end of non-void function [-Werror=return-type]
cc1plus.exe: some warnings being treated as errors
Using library WiFi at version 1.0 in folder: C:\Users\WinCycle\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.4\libraries\WiFi
Using library SPIFFS at version 1.0 in folder: C:\Users\WinCycle\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.4\libraries\SPIFFS
Using library FS at version 1.0 in folder: C:\Users\WinCycle\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.4\libraries\FS
exit status 1
format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Werror=format=]