SimpleFTPServer
SimpleFTPServer copied to clipboard
SDFAT2 does not seem to compile for ESP8266 or ESP32
trafficstars
Hello,
When I choose STORAGE_SDFAT2, I'm getting this compilation error:
Compiling .pio\build\esp12e\lib0ed\ESP8266WiFi\WiFiServerSecureBearSSL.cpp.o src\FTPServer.cpp: In member function 'bool FtpServer::openFile(char*, int)': src\FTPServer.cpp:2323:50: error: no match for 'operator=' (operand types are 'FsFile' and 'File32') 2323 | file = STORAGE_MANAGER.open( path, readTypeInt );
But If I choose STORAGE_SD, everything is fine.
I'd like to make it work with the SDFAT library since I understand is a lot faster than the SD one. The thing is that the SDFAT library has had some recent pushes with important changes.
Could you check if it still works of if it's something broken?
Thanks so much.