Added MQTT client, better speaker handling, fixed bug in FTP server, ...
This commit is contained in:
@ -472,13 +472,12 @@ boolean FtpServer::processCommand()
|
||||
// if(levels){
|
||||
// listDir(fs, file.name(), levels -1);
|
||||
// }
|
||||
data.println(String("Type=dir;modify=20000101160656; ") + file.name());
|
||||
data.println(String("Type=dir;perm=cdelmp;modify=20000101160656; ") + file.name());
|
||||
} else {
|
||||
String fn, fs;
|
||||
fn = file.name();
|
||||
fn.remove(0, 1);
|
||||
fs = String(file.size());
|
||||
data.println( "Type=file;Size=" + fs + ";"+"modify=20000101160656;" +" " + fn);
|
||||
data.println( "Type=file;perm=drw;Size=" + fs + ";modify=20000101160656;" +" " + fn);
|
||||
nm ++;
|
||||
}
|
||||
file = root.openNextFile();
|
||||
|
1021
lib/esp8266FTPServer/ESP8266FtpServer.cppRMD
Normal file
1021
lib/esp8266FTPServer/ESP8266FtpServer.cppRMD
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user