is it possible to upload data into spiffs via OTA or http update?
thanks
Explore... Chat... Share...
void handleMinimalUpload() {
char temp[1500];
snprintf ( temp, 1500,
"<!DOCTYPE html>\
<html>\
<head>\
<title>ESP8266 Upload</title>\
<meta charset=\"utf-8\">\
<meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\
<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">\
</head>\
<body>\
<form action=\"/edit\" method=\"post\" enctype=\"multipart/form-data\">\
<input type=\"file\" name=\"data\">\
<input type=\"text\" name=\"path\" value=\"/\">\
<button>Upload</button>\
</form>\
</body>\
</html>"
);
server.send ( 200, "text/html", temp );
}
server.on("/upload", handleMinimalUpload);
Well I returned the two defective NodeMCU, and out[…]
Interesting. I have used 12Fs exclusively and I h[…]
mingw32-make.exe: *** [build / app.out] Error 1 […]
Hi Xury; Between 2 projects I looked for your req[…]
Hello I would like to send commands to esp8266 vi[…]
What do you think actually solved the problem : Wa[…]
Riky, I am also new to ESP8266 but I solved the sa[…]
schufti, thanks for verifying that it should work […]
Can't help you with Arduino IDE since I'm not usin[…]
Hi. Not sure but it looks like the ESP.updateSket[…]
Follow US on Twitter and get ESP8266 news and updates first.