ESPWebDAV
ESPWebDAV copied to clipboard
Wrong Name issue when not using USE_SDFAT
in file ESPWebDAV.cpp :
#ifdef USE_SDFAT
char buf[255];
curFile->getName(buf, sizeof(buf));
#else
const char* buf = curFile->name() + 1;
#endif
the "+1" schouldn't exist, it change the name of the files and we can not download anymore
it should be
#ifdef USE_SDFAT
char buf[255];
curFile->getName(buf, sizeof(buf));
#else
const char* buf = curFile->name();
#endif