Support LittleFS

enhance/v120
Hieromon Ikasamo 5 years ago
parent c8713433be
commit 3e7b7e0ecf
  1. 39
      examples/Elements/Elements.ino
  2. 795
      examples/FSBrowser/FSBrowser.ino
  3. 152
      examples/FSBrowser/README.md
  4. BIN
      examples/FSBrowser/data/edit.htm.gz
  5. 1128
      examples/FSBrowser/data/edit/index.htm
  6. BIN
      examples/FSBrowser/data/graphs.js.gz
  7. 101
      examples/FSBrowser/data/index.htm
  8. BIN
      examples/FSBrowser/data/pins.png
  9. BIN
      examples/FSBrowser/extras/feathericons.png
  10. BIN
      examples/FSBrowser/extras/index.htm.gz
  11. 529
      examples/FSBrowser/extras/index_htm.h
  12. 60
      examples/FSBrowser/extras/reduce_index.sh
  13. 21
      examples/FileUpload/FileUpload.ino

@ -20,10 +20,25 @@ using WebServerClass = ESP8266WebServer;
#include <SPIFFS.h> #include <SPIFFS.h>
using WebServerClass = WebServer; using WebServerClass = WebServer;
#endif #endif
#include <FS.h>
#include <AutoConnect.h> #include <AutoConnect.h>
/*
AC_USE_SPIFFS indicates SPIFFS or LittleFS as available file systems that
will become the AUTOCONNECT_USE_SPIFFS identifier and is exported as showng
the valid file system. After including AutoConnect.h, the Sketch can determine
whether to use FS.h or LittleFS.h by AUTOCONNECT_USE_SPIFFS definition.
*/
#ifdef AUTOCONNECT_USE_SPIFFS
#include <FS.h>
FS& FlashFS = SPIFFS;
#else
#include <LittleFS.h>
FS& FlashFS = LittleFS;
#endif
#define PARAM_FILE "/elements.json" #define PARAM_FILE "/elements.json"
#define USERNAME "username_you_wish" // For HTTP authentication
#define PASSWORD "password_you_wish" // For HTTP authentication
static const char PAGE_ELEMENTS[] PROGMEM = R"( static const char PAGE_ELEMENTS[] PROGMEM = R"(
{ {
@ -156,13 +171,13 @@ void setup() {
// Since this handler only supports AutoConnectSubmit called the // Since this handler only supports AutoConnectSubmit called the
// Load, it uses the uri of the custom web page placed to // Load, it uses the uri of the custom web page placed to
// determine whether the Load was called me or not. // determine whether the Load was called me or not.
SPIFFS.begin(); FlashFS.begin();
File param = SPIFFS.open(PARAM_FILE, "r"); File param = FlashFS.open(PARAM_FILE, "r");
if (param) { if (param) {
aux.loadElement(param, { "text", "check", "input", "radio", "select" } ); aux.loadElement(param, { "text", "check", "input", "radio", "select" } );
param.close(); param.close();
} }
SPIFFS.end(); FlashFS.end();
} }
return String(); return String();
}); });
@ -181,28 +196,32 @@ void setup() {
aux["caption"].value = PARAM_FILE; aux["caption"].value = PARAM_FILE;
#if defined(ARDUINO_ARCH_ESP8266) #if defined(ARDUINO_ARCH_ESP8266)
SPIFFS.begin(); FlashFS.begin();
#elif defined(ARDUINO_ARCH_ESP32) #elif defined(ARDUINO_ARCH_ESP32)
SPIFFS.begin(true); FlashFS.begin(true);
#endif #endif
File param = SPIFFS.open(PARAM_FILE, "w"); File param = FlashFS.open(PARAM_FILE, "w");
if (param) { if (param) {
// Save as a loadable set for parameters. // Save as a loadable set for parameters.
elementsAux.saveElement(param, { "text", "check", "input", "radio", "select" }); elementsAux.saveElement(param, { "text", "check", "input", "radio", "select" });
param.close(); param.close();
// Read the saved elements again to display. // Read the saved elements again to display.
param = SPIFFS.open(PARAM_FILE, "r"); param = FlashFS.open(PARAM_FILE, "r");
aux["echo"].value = param.readString(); aux["echo"].value = param.readString();
param.close(); param.close();
} }
else { else {
aux["echo"].value = "SPIFFS failed to open."; aux["echo"].value = "Filesystem failed to open.";
} }
SPIFFS.end(); FlashFS.end();
return String(); return String();
}); });
portal.join({ elementsAux, saveAux }); portal.join({ elementsAux, saveAux });
config.auth = AC_AUTH_DIGEST;
config.authScope = AC_AUTHSCOPE_AUX;
config.username = USERNAME;
config.password = PASSWORD;
config.ticker = true; config.ticker = true;
portal.config(config); portal.config(config);
portal.begin(); portal.begin();

@ -1,5 +1,6 @@
/* /*
FSWebServer - Example WebServer with SPIFFS backend for esp8266 FSBrowser - A web-based FileSystem Browser for ESP8266 filesystems
Copyright (c) 2015 Hristo Gochkov. All rights reserved. Copyright (c) 2015 Hristo Gochkov. All rights reserved.
This file is part of the ESP8266WebServer library for Arduino environment. This file is part of the ESP8266WebServer library for Arduino environment.
@ -7,349 +8,661 @@
modify it under the terms of the GNU Lesser General Public modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version. version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful, This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details. Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software License along with this library; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
upload the contents of the data folder with MkSPIFFS Tool ("ESP8266 Sketch Data Upload" in Tools menu in Arduino IDE) See readme.md for more information.
or you can upload the contents of a folder if you CD in that folder and run the following command:
for file in `\ls -A1`; do curl -F "file=@$PWD/$file" esp8266fs.local/edit; done
access the sample web page at http://esp8266fs.local
edit the page by going to http://esp8266fs.local/edit
*/ */
////////////////////////////////
// Select the FileSystem by uncommenting one of the lines below
//#define USE_SPIFFS
#define USE_LITTLEFS
//#define USE_SDFS
// Uncomment the following line to embed a version of the web page in the code
// (program code will be larger, but no file will have to be written to the filesystem).
// Note: the source file "extras/index_htm.h" must have been generated by "extras/reduce_index.sh"
//#define INCLUDE_FALLBACK_INDEX_HTM
////////////////////////////////
#if defined(ARDUINO_ARCH_ESP8266) #if defined(ARDUINO_ARCH_ESP8266)
#include <ESP8266WiFi.h> #include <ESP8266WiFi.h>
#include <WiFiClient.h>
#include <ESP8266WebServer.h> #include <ESP8266WebServer.h>
#include <ESP8266mDNS.h> #include <ESP8266mDNS.h>
#include <FS.h>
#elif defined(ARDUINO_ARCH_ESP32) #elif defined(ARDUINO_ARCH_ESP32)
#include <WiFi.h> #include <WiFi.h>
#include <WiFiClient.h>
#include <WebServer.h> #include <WebServer.h>
#include <ESPmDNS.h> #include <ESPmDNS.h>
#include <SPIFFS.h>
#endif #endif
//Add a below line for AutoConnect. #include <WiFiClient.h>
#include <SPI.h>
#include <AutoConnect.h> #include <AutoConnect.h>
#ifdef INCLUDE_FALLBACK_INDEX_HTM
#include "extras/index_htm.h"
#endif
#if defined USE_SPIFFS
#include <FS.h>
const char* fsName = "SPIFFS";
FS* fileSystem = &SPIFFS;
SPIFFSConfig fileSystemConfig = SPIFFSConfig();
#elif defined USE_LITTLEFS
#include <LittleFS.h>
const char* fsName = "LittleFS";
FS* fileSystem = &LittleFS;
LittleFSConfig fileSystemConfig = LittleFSConfig();
#elif defined USE_SDFS
#include <SDFS.h>
const char* fsName = "SDFS";
FS* fileSystem = &SDFS;
SDFSConfig fileSystemConfig = SDFSConfig();
// fileSystemConfig.setCSPin(chipSelectPin);
#else
#error Please select a filesystem first by uncommenting one of the "#define USE_xxx" lines at the beginning of the sketch.
#endif
#define DBG_OUTPUT_PORT Serial #define DBG_OUTPUT_PORT Serial
const char* ssid = "wifi-ssid"; // Exclude unnecessary declarations due to applying AutoConnect
const char* password = "wifi-password"; // #ifndef STASSID
#if defined(ARDUINO_ARCH_ESP8266) // #define STASSID "SHAP-G"
const char* host = "esp8266fs"; // #define STAPSK "A0309T0312#"
// #endif
// const char* ssid = STASSID;
// const char* password = STAPSK;
const char* host = "fsbrowser";
ESP8266WebServer server(80); ESP8266WebServer server(80);
#elif defined(ARDUINO_ARCH_ESP32)
const char* host = "esp32fs";
WebServer server(80); static bool fsOK;
#endif String unsupportedFiles = String();
//Add a below line for AutoConnect.
File uploadFile;
// Additional lines as the below to apply AutoConnect
AutoConnect portal(server); AutoConnect portal(server);
AutoConnectConfig config; AutoConnectConfig config;
//holds the current upload
File fsUploadFile; static const char TEXT_PLAIN[] PROGMEM = "text/plain";
static const char FS_INIT_ERROR[] PROGMEM = "FS INIT ERROR";
//format bytes static const char FILE_NOT_FOUND[] PROGMEM = "FileNotFound";
String formatBytes(size_t bytes){
if (bytes < 1024) { ////////////////////////////////
return String(bytes) + "B"; // Utils to return HTTP codes, and determine content-type
} else if (bytes < (1024 * 1024)) {
return String(bytes / 1024.0) + "KB"; void replyOK() {
} else if (bytes < (1024 * 1024 * 1024)) { server.send(200, FPSTR(TEXT_PLAIN), "");
return String(bytes / 1024.0 / 1024.0) + "MB"; }
void replyOKWithMsg(String msg) {
server.send(200, FPSTR(TEXT_PLAIN), msg);
}
void replyNotFound(String msg) {
server.send(404, FPSTR(TEXT_PLAIN), msg);
}
void replyBadRequest(String msg) {
DBG_OUTPUT_PORT.println(msg);
server.send(400, FPSTR(TEXT_PLAIN), msg + "\r\n");
}
void replyServerError(String msg) {
DBG_OUTPUT_PORT.println(msg);
server.send(500, FPSTR(TEXT_PLAIN), msg + "\r\n");
}
#ifdef USE_SPIFFS
/*
Checks filename for character combinations that are not supported by FSBrowser (alhtough valid on SPIFFS).
Returns an empty String if supported, or detail of error(s) if unsupported
*/
String checkForUnsupportedPath(String filename) {
String error = String();
if (!filename.startsWith("/")) {
error += F("!NO_LEADING_SLASH! ");
}
if (filename.indexOf("//") != -1) {
error += F("!DOUBLE_SLASH! ");
}
if (filename.endsWith("/")) {
error += F("!TRAILING_SLASH! ");
}
return error;
}
#endif
////////////////////////////////
// Request handlers
/*
Return the FS type, status and size info
*/
void handleStatus() {
DBG_OUTPUT_PORT.println("handleStatus");
FSInfo fs_info;
String json;
json.reserve(128);
json = "{\"type\":\"";
json += fsName;
json += "\", \"isOk\":";
if (fsOK) {
fileSystem->info(fs_info);
json += F("\"true\", \"totalBytes\":\"");
json += fs_info.totalBytes;
json += F("\", \"usedBytes\":\"");
json += fs_info.usedBytes;
json += "\"";
} else { } else {
return String(bytes / 1024.0 / 1024.0 / 1024.0) + "GB"; json += "\"false\"";
} }
json += F(",\"unsupportedFiles\":\"");
json += unsupportedFiles;
json += "\"}";
server.send(200, "application/json", json);
} }
String getContentType(String filename) {
if (server.hasArg("download")) { /*
return "application/octet-stream"; Return the list of files in the directory specified by the "dir" query string parameter.
} else if (filename.endsWith(".htm")) { Also demonstrates the use of chuncked responses.
return "text/html"; */
} else if (filename.endsWith(".html")) { void handleFileList() {
return "text/html"; if (!fsOK) {
} else if (filename.endsWith(".css")) { return replyServerError(FPSTR(FS_INIT_ERROR));
return "text/css"; }
} else if (filename.endsWith(".js")) {
return "application/javascript"; if (!server.hasArg("dir")) {
} else if (filename.endsWith(".png")) { return replyBadRequest(F("DIR ARG MISSING"));
return "image/png"; }
} else if (filename.endsWith(".gif")) {
return "image/gif"; String path = server.arg("dir");
} else if (filename.endsWith(".jpg")) { if (path != "/" && !fileSystem->exists(path)) {
return "image/jpeg"; return replyBadRequest("BAD PATH");
} else if (filename.endsWith(".ico")) { }
return "image/x-icon";
} else if (filename.endsWith(".xml")) { DBG_OUTPUT_PORT.println(String("handleFileList: ") + path);
return "text/xml"; Dir dir = fileSystem->openDir(path);
} else if (filename.endsWith(".pdf")) { path.clear();
return "application/x-pdf";
} else if (filename.endsWith(".zip")) { // use HTTP/1.1 Chunked response to avoid building a huge temporary string
return "application/x-zip"; if (!server.chunkedResponseModeStart(200, "text/json")) {
} else if (filename.endsWith(".gz")) { server.send(505, F("text/html"), F("HTTP1.1 required"));
return "application/x-gzip"; return;
} }
return "text/plain";
// use the same string for every line
String output;
output.reserve(64);
while (dir.next()) {
#ifdef USE_SPIFFS
String error = checkForUnsupportedPath(dir.fileName());
if (error.length() > 0) {
DBG_OUTPUT_PORT.println(String("Ignoring ") + error + dir.fileName());
continue;
}
#endif
if (output.length()) {
// send string from previous iteration
// as an HTTP chunk
server.sendContent(output);
output = ',';
} else {
output = '[';
}
output += "{\"type\":\"";
if (dir.isDirectory()) {
output += "dir";
} else {
output += F("file\",\"size\":\"");
output += dir.fileSize();
}
output += F("\",\"name\":\"");
// Always return names without leading "/"
if (dir.fileName()[0] == '/') {
output += &(dir.fileName()[1]);
} else {
output += dir.fileName();
}
output += "\"}";
}
// send last string
output += "]";
server.sendContent(output);
server.chunkedResponseFinalize();
} }
/*
Read the given file from the filesystem and stream it back to the client
*/
bool handleFileRead(String path) { bool handleFileRead(String path) {
DBG_OUTPUT_PORT.println("handleFileRead: " + path); DBG_OUTPUT_PORT.println(String("handleFileRead: ") + path);
if (!fsOK) {
replyServerError(FPSTR(FS_INIT_ERROR));
return true;
}
if (path.endsWith("/")) { if (path.endsWith("/")) {
path += "index.htm"; path += "index.htm";
} }
String contentType = getContentType(path);
String pathWithGz = path + ".gz"; String contentType;
if (SPIFFS.exists(pathWithGz) || SPIFFS.exists(path)) { if (server.hasArg("download")) {
if (SPIFFS.exists(pathWithGz)) { contentType = F("application/octet-stream");
path += ".gz"; } else {
contentType = mime::getContentType(path);
}
if (!fileSystem->exists(path)) {
// File not found, try gzip version
path = path + ".gz";
}
if (fileSystem->exists(path)) {
File file = fileSystem->open(path, "r");
if (server.streamFile(file, contentType) != file.size()) {
DBG_OUTPUT_PORT.println("Sent less data than expected!");
} }
File file = SPIFFS.open(path, "r");
server.streamFile(file, contentType);
file.close(); file.close();
return true; return true;
} }
return false; return false;
} }
void handleFileUpload() {
if (server.uri() != "/edit") { /*
return; As some FS (e.g. LittleFS) delete the parent folder when the last child has been removed,
} return the path of the closest parent still existing
HTTPUpload& upload = server.upload(); */
if (upload.status == UPLOAD_FILE_START) { String lastExistingParent(String path) {
String filename = upload.filename; while (!path.isEmpty() && !fileSystem->exists(path)) {
if (!filename.startsWith("/")) { if (path.lastIndexOf('/') > 0) {
filename = "/" + filename; path = path.substring(0, path.lastIndexOf('/'));
} } else {
DBG_OUTPUT_PORT.print("handleFileUpload Name: "); DBG_OUTPUT_PORT.println(filename); path = String(); // No slash => the top folder does not exist
fsUploadFile = SPIFFS.open(filename, "w");
filename = String();
} else if (upload.status == UPLOAD_FILE_WRITE) {
//DBG_OUTPUT_PORT.print("handleFileUpload Data: "); DBG_OUTPUT_PORT.println(upload.currentSize);
if (fsUploadFile) {
fsUploadFile.write(upload.buf, upload.currentSize);
}
} else if (upload.status == UPLOAD_FILE_END) {
if (fsUploadFile) {
fsUploadFile.close();
} }
DBG_OUTPUT_PORT.print("handleFileUpload Size: "); DBG_OUTPUT_PORT.println(upload.totalSize);
} }
DBG_OUTPUT_PORT.println(String("Last existing parent: ") + path);
return path;
} }
void handleFileDelete() { /*
if (server.args() == 0) { Handle the creation/rename of a new file
return server.send(500, "text/plain", "BAD ARGS"); Operation | req.responseText
} ---------------+--------------------------------------------------------------
String path = server.arg(0); Create file | parent of created file
DBG_OUTPUT_PORT.println("handleFileDelete: " + path); Create folder | parent of created folder
if (path == "/") { Rename file | parent of source file
return server.send(500, "text/plain", "BAD PATH"); Move file | parent of source file, or remaining ancestor
Rename folder | parent of source folder
Move folder | parent of source folder, or remaining ancestor
*/
void handleFileCreate() {
if (!fsOK) {
return replyServerError(FPSTR(FS_INIT_ERROR));
} }
if (!SPIFFS.exists(path)) {
return server.send(404, "text/plain", "FileNotFound"); String path = server.arg("path");
if (path.isEmpty()) {
return replyBadRequest(F("PATH ARG MISSING"));
} }
SPIFFS.remove(path);
server.send(200, "text/plain", "");
path = String();
}
void handleFileCreate() { #ifdef USE_SPIFFS
if (server.args() == 0) { if (checkForUnsupportedPath(path).length() > 0) {
return server.send(500, "text/plain", "BAD ARGS"); return replyServerError(F("INVALID FILENAME"));
} }
String path = server.arg(0); #endif
DBG_OUTPUT_PORT.println("handleFileCreate: " + path);
if (path == "/") { if (path == "/") {
return server.send(500, "text/plain", "BAD PATH"); return replyBadRequest("BAD PATH");
} }
if (SPIFFS.exists(path)) { if (fileSystem->exists(path)) {
return server.send(500, "text/plain", "FILE EXISTS"); return replyBadRequest(F("PATH FILE EXISTS"));
} }
File file = SPIFFS.open(path, "w");
String src = server.arg("src");
if (src.isEmpty()) {
// No source specified: creation
DBG_OUTPUT_PORT.println(String("handleFileCreate: ") + path);
if (path.endsWith("/")) {
// Create a folder
path.remove(path.length() - 1);
if (!fileSystem->mkdir(path)) {
return replyServerError(F("MKDIR FAILED"));
}
} else {
// Create a file
File file = fileSystem->open(path, "w");
if (file) { if (file) {
file.write((const char *)0);
file.close(); file.close();
} else { } else {
return server.send(500, "text/plain", "CREATE FAILED"); return replyServerError(F("CREATE FAILED"));
}
}
if (path.lastIndexOf('/') > -1) {
path = path.substring(0, path.lastIndexOf('/'));
}
replyOKWithMsg(path);
} else {
// Source specified: rename
if (src == "/") {
return replyBadRequest("BAD SRC");
}
if (!fileSystem->exists(src)) {
return replyBadRequest(F("SRC FILE NOT FOUND"));
}
DBG_OUTPUT_PORT.println(String("handleFileCreate: ") + path + " from " + src);
if (path.endsWith("/")) {
path.remove(path.length() - 1);
}
if (src.endsWith("/")) {
src.remove(src.length() - 1);
}
if (!fileSystem->rename(src, path)) {
return replyServerError(F("RENAME FAILED"));
}
replyOKWithMsg(lastExistingParent(src));
} }
server.send(200, "text/plain", "");
path = String();
} }
void handleFileList() {
if (!server.hasArg("dir")) { /*
server.send(500, "text/plain", "BAD ARGS"); Delete the file or folder designed by the given path.
If it's a file, delete it.
If it's a folder, delete all nested contents first then the folder itself
IMPORTANT NOTE: using recursion is generally not recommended on embedded devices and can lead to crashes (stack overflow errors).
This use is just for demonstration purpose, and FSBrowser might crash in case of deeply nested filesystems.
Please don't do this on a production system.
*/
void deleteRecursive(String path) {
File file = fileSystem->open(path, "r");
bool isDir = file.isDirectory();
file.close();
// If it's a plain file, delete it
if (!isDir) {
fileSystem->remove(path);
return; return;
} }
String path = server.arg("dir"); // Otherwise delete its contents first
DBG_OUTPUT_PORT.println("handleFileList: " + path); Dir dir = fileSystem->openDir(path);
#if defined(ARDUINO_ARCH_ESP8266)
Dir dir = SPIFFS.openDir(path);
#elif defined(ARDUINO_ARCH_ESP32)
File root = SPIFFS.open(path);
#endif
path = String();
String output = "[";
#if defined(ARDUINO_ARCH_ESP8266)
while (dir.next()) { while (dir.next()) {
File entry = dir.openFile("r"); deleteRecursive(path + '/' + dir.fileName());
if (output != "[") {
output += ',';
} }
bool isDir = false;
output += "{\"type\":\""; // Then delete the folder itself
output += (isDir) ? "dir" : "file"; fileSystem->rmdir(path);
output += "\",\"name\":\""; }
output += String(entry.name()).substring(1);
output += "\"}";
entry.close(); /*
Handle a file deletion request
Operation | req.responseText
---------------+--------------------------------------------------------------
Delete file | parent of deleted file, or remaining ancestor
Delete folder | parent of deleted folder, or remaining ancestor
*/
void handleFileDelete() {
if (!fsOK) {
return replyServerError(FPSTR(FS_INIT_ERROR));
} }
#elif defined(ARDUINO_ARCH_ESP32)
if(root.isDirectory()){ String path = server.arg(0);
File file = root.openNextFile(); if (path.isEmpty() || path == "/") {
while(file){ return replyBadRequest("BAD PATH");
if (output != "[") {
output += ',';
} }
output += "{\"type\":\"";
output += (file.isDirectory()) ? "dir" : "file"; DBG_OUTPUT_PORT.println(String("handleFileDelete: ") + path);
output += "\",\"name\":\""; if (!fileSystem->exists(path)) {
output += String(file.name()).substring(1); return replyNotFound(FPSTR(FILE_NOT_FOUND));
output += "\"}";
file = root.openNextFile();
} }
deleteRecursive(path);
replyOKWithMsg(lastExistingParent(path));
}
/*
Handle a file upload request
*/
void handleFileUpload() {
if (!fsOK) {
return replyServerError(FPSTR(FS_INIT_ERROR));
} }
if (server.uri() != "/edit") {
return;
}
HTTPUpload& upload = server.upload();
if (upload.status == UPLOAD_FILE_START) {
String filename = upload.filename;
// Make sure paths always start with "/"
if (!filename.startsWith("/")) {
filename = "/" + filename;
}
DBG_OUTPUT_PORT.println(String("handleFileUpload Name: ") + filename);
uploadFile = fileSystem->open(filename, "w");
if (!uploadFile) {
return replyServerError(F("CREATE FAILED"));
}
DBG_OUTPUT_PORT.println(String("Upload: START, filename: ") + filename);
} else if (upload.status == UPLOAD_FILE_WRITE) {
if (uploadFile) {
size_t bytesWritten = uploadFile.write(upload.buf, upload.currentSize);
if (bytesWritten != upload.currentSize) {
return replyServerError(F("WRITE FAILED"));
}
}
DBG_OUTPUT_PORT.println(String("Upload: WRITE, Bytes: ") + upload.currentSize);
} else if (upload.status == UPLOAD_FILE_END) {
if (uploadFile) {
uploadFile.close();
}
DBG_OUTPUT_PORT.println(String("Upload: END, Size: ") + upload.totalSize);
}
}
/*
The "Not Found" handler catches all URI not explicitely declared in code
First try to find and return the requested file from the filesystem,
and if it fails, return a 404 page with debug information
*/
void handleNotFound() {
if (!fsOK) {
return replyServerError(FPSTR(FS_INIT_ERROR));
}
String uri = ESP8266WebServer::urlDecode(server.uri()); // required to read paths with blanks
if (handleFileRead(uri)) {
return;
}
// Dump debug data
String message;
message.reserve(100);
message = F("Error: File not found\n\nURI: ");
message += uri;
message += F("\nMethod: ");
message += (server.method() == HTTP_GET) ? "GET" : "POST";
message += F("\nArguments: ");
message += server.args();
message += '\n';
for (uint8_t i = 0; i < server.args(); i++) {
message += F(" NAME:");
message += server.argName(i);
message += F("\n VALUE:");
message += server.arg(i);
message += '\n';
}
message += "path=";
message += server.arg("path");
message += '\n';
DBG_OUTPUT_PORT.print(message);
return replyNotFound(message);
}
/*
This specific handler returns the index.htm (or a gzipped version) from the /edit folder.
If the file is not present but the flag INCLUDE_FALLBACK_INDEX_HTM has been set, falls back to the version
embedded in the program code.
Otherwise, fails with a 404 page with debug information
*/
void handleGetEdit() {
if (handleFileRead(F("/edit/index.htm"))) {
return;
}
#ifdef INCLUDE_FALLBACK_INDEX_HTM
server.sendHeader(F("Content-Encoding"), "gzip");
server.send(200, "text/html", index_htm_gz, index_htm_gz_len);
#else
replyNotFound(FPSTR(FILE_NOT_FOUND));
#endif #endif
output += "]";
server.send(200, "text/json", output);
} }
void setup(void){ void setup(void) {
////////////////////////////////
// SERIAL INIT
DBG_OUTPUT_PORT.begin(115200); DBG_OUTPUT_PORT.begin(115200);
DBG_OUTPUT_PORT.print("\n");
DBG_OUTPUT_PORT.setDebugOutput(true); DBG_OUTPUT_PORT.setDebugOutput(true);
SPIFFS.begin(); DBG_OUTPUT_PORT.print('\n');
{
#if defined(ARDUINO_ARCH_ESP8266) ////////////////////////////////
Dir dir = SPIFFS.openDir("/"); // FILESYSTEM INIT
fileSystemConfig.setAutoFormat(false);
fileSystem->setConfig(fileSystemConfig);
fsOK = fileSystem->begin();
DBG_OUTPUT_PORT.println(fsOK ? F("Filesystem initialized.") : F("Filesystem init failed!"));
#ifdef USE_SPIFFS
// Debug: dump on console contents of filessytem with no filter and check filenames validity
Dir dir = fileSystem->openDir("");
DBG_OUTPUT_PORT.println(F("List of files at root of filesystem:"));
while (dir.next()) { while (dir.next()) {
String fileName = dir.fileName(); String error = checkForUnsupportedPath(dir.fileName());
size_t fileSize = dir.fileSize(); String fileInfo = dir.fileName() + (dir.isDirectory() ? " [DIR]" : String(" (") + dir.fileSize() + "b)");
DBG_OUTPUT_PORT.printf("FS File: %s, size: %s\n", fileName.c_str(), formatBytes(fileSize).c_str()); DBG_OUTPUT_PORT.println(error + fileInfo);
if (error.length() > 0) {
unsupportedFiles += error + fileInfo + '\n';
} }
#elif defined(ARDUINO_ARCH_ESP32)
File root = SPIFFS.open("/");
File file = root.openNextFile();
while(file){
String fileName = file.name();
size_t fileSize = file.size();
DBG_OUTPUT_PORT.printf("FS File: %s, size: %s\n", fileName.c_str(), formatBytes(fileSize).c_str());
file = root.openNextFile();
}
#endif
DBG_OUTPUT_PORT.printf("\n");
} }
DBG_OUTPUT_PORT.println();
// Keep the "unsupportedFiles" variable to show it, but clean it up
unsupportedFiles.replace("\n", "<br/>");
unsupportedFiles = unsupportedFiles.substring(0, unsupportedFiles.length() - 5);
#endif
//WIFI INIT // With applying AutoConnect, making WiFi connection is not necessary.
DBG_OUTPUT_PORT.printf("Connecting to %s\n", ssid); // WI-FI INIT
//Comment out as follows to make AutoConnect recognition. // DBG_OUTPUT_PORT.printf("Connecting to %s\n", ssid);
//if (String(WiFi.SSID()) != String(ssid)) {
// WiFi.mode(WIFI_STA); // WiFi.mode(WIFI_STA);
// WiFi.begin(ssid, password); // WiFi.begin(ssid, password);
//} // // Wait for connection
// while (WiFi.status() != WL_CONNECTED) {
//while (WiFi.status() != WL_CONNECTED) {
// delay(500); // delay(500);
// DBG_OUTPUT_PORT.print("."); // DBG_OUTPUT_PORT.print(".");
//} // }
// DBG_OUTPUT_PORT.println("");
// DBG_OUTPUT_PORT.print(F("Connected! IP address: "));
// DBG_OUTPUT_PORT.println(WiFi.localIP());
////////////////////////////////
// WEB SERVER INIT
//SERVER INIT // Filesystem status
//list directory server.on("/status", HTTP_GET, handleStatus);
// List directory
server.on("/list", HTTP_GET, handleFileList); server.on("/list", HTTP_GET, handleFileList);
//load editor
server.on("/edit", HTTP_GET, []() { // Load editor
if (!handleFileRead("/edit.htm")) { server.on("/edit", HTTP_GET, handleGetEdit);
server.send(404, "text/plain", "FileNotFound");
} // Create file
});
//create file
server.on("/edit", HTTP_PUT, handleFileCreate); server.on("/edit", HTTP_PUT, handleFileCreate);
//delete file
// Delete file
server.on("/edit", HTTP_DELETE, handleFileDelete); server.on("/edit", HTTP_DELETE, handleFileDelete);
//first callback is called after the request has ended with all parsed arguments
//second callback handles file uploads at that location
server.on("/edit", HTTP_POST, []() {
server.send(200, "text/plain", "");
}, handleFileUpload);
//called when the url is not defined here
//use it to load content from SPIFFS
//Replacement as follows to make AutoConnect recognition.
//server.onNotFound([](){
portal.onNotFound([](){
if(!handleFileRead(server.uri()))
server.send(404, "text/plain", "FileNotFound");
});
//get heap status, analog input value and all GPIO statuses in one json call
server.on("/all", HTTP_GET, [](){
String json = "{";
json += "\"heap\":"+String(ESP.getFreeHeap());
json += ", \"analog\":"+String(analogRead(A0));
#if defined(ARDUINO_ARCH_ESP8266)
json += ", \"gpio\":"+String((uint32_t)(((GPI | GPO) & 0xFFFF) | ((GP16I & 0x01) << 16)));
#elif defined(ARDUINO_ARCH_ESP32)
json += ", \"gpio\":" + String((uint32_t)(0));
#endif
json += "}";
server.send(200, "text/json", json);
json = String();
});
//Set menu title // Upload file
// - first callback is called after the request has ended with all parsed arguments
// - second callback handles file upload at that location
server.on("/edit", HTTP_POST, replyOK, handleFileUpload);
// Default handler for all URIs not defined above
// Use it to read files from filesystem
// To make AutoConnect recognize the 404 handler, replace it with:
//server.onNotFound(handleNotFound);
portal.onNotFound(handleNotFound);
// Using AutoConnect does not require the HTTP server to be started
// intentionally. It is launched inside AutoConnect.begin.
// Start server
// server.begin();
// DBG_OUTPUT_PORT.println("HTTP server started");
// Start AutoConnect
config.title = "FSBrowser"; config.title = "FSBrowser";
portal.config(config); portal.config(config);
//Register AutoConnect menu
portal.append("/edit", "Edit"); portal.append("/edit", "Edit");
portal.append("/list?dir=\"/\"", "List"); portal.append("/list?dir=\"/\"", "List");
//Replacement as follows to make AutoConnect recognition. if (portal.begin()) {
//server.begin(); DBG_OUTPUT_PORT.print(F("Connected! IP address: "));
portal.begin();
DBG_OUTPUT_PORT.println("HTTP server started");
//Relocation as follows to make AutoConnect recognition.
DBG_OUTPUT_PORT.println("");
DBG_OUTPUT_PORT.print("Connected! IP address: ");
DBG_OUTPUT_PORT.println(WiFi.localIP()); DBG_OUTPUT_PORT.println(WiFi.localIP());
}
DBG_OUTPUT_PORT.println("HTTP server started");
//Relocation as follows to make AutoConnect recognition. // With applying AutoConnect, the MDNS service must be started after
// establishing a WiFi connection.
// MDNS INIT
if (MDNS.begin(host)) { if (MDNS.begin(host)) {
MDNS.addService("http", "tcp", 80); MDNS.addService("http", "tcp", 80);
DBG_OUTPUT_PORT.print("Open http://"); DBG_OUTPUT_PORT.print(F("Open http://"));
DBG_OUTPUT_PORT.print(host); DBG_OUTPUT_PORT.print(host);
DBG_OUTPUT_PORT.println(".local/edit to see the file browser"); DBG_OUTPUT_PORT.println(F(".local/edit to open the FileSystem Browser"));
} DBG_OUTPUT_PORT.print(F("Open http://"));
else { DBG_OUTPUT_PORT.print(host);
DBG_OUTPUT_PORT.print("mDNS start failed"); DBG_OUTPUT_PORT.println(F(".local/_ac to AutoConnect statistics"));
} }
} }
void loop(void){
//Replacement as follows to make AutoConnect recognition. void loop(void) {
//server.handleClient(); // To make AutoConnect recognize the client handling, replace it with:
// server.handleClient();
portal.handleClient(); portal.handleClient();
#ifdef ARDUINO_ARCH_ESP8266 #ifdef ARDUINO_ARCH_ESP8266
MDNS.update(); MDNS.update();

@ -1,13 +1,149 @@
### FSBrowser from the example of ESP8266WebServer # FSBrowser with AutoConnect readme
This example sketch is in ESP8266WebServer library for Arduino environment. The [FSWebServer](https://github.com/esp8266/Arduino/tree/master/libraries/ESP8266WebServer/examples/FSBrowser) is cited as an example of combining AutoConnect library. It is a concrete implementation that applies AutoConnect to **FSBrowser.ino** which is an example of ESP8266WebServer library. A description of the specific changes can be found in the [AutoConnect documentation](https://hieromon.github.io/AutoConnect/menuize.html).
The modification describes in the source code. Modifying just a few lines of the Sketch you have and applying AutoConnect has the following advantages:
1. Make a wifi connection without pre-coded SSID and password.
2. Integrate the FSBrowser utility separated for each URI into the AutoConnect menu.
3. It does not interfere with the functions of the original FSBrowser.
#### License The following description is a quote of readme.md that the FSBrowser distribution contains.
FSWebServer - Example WebServer with SPIFFS backend for esp8266 ----
Copyright (c) 2015 Hristo Gochkov. All rights reserved.
This file is part of the ESP8266WebServer library for Arduino environment. ## What is this sketch about ?
This example is a FileSystem Browser for the ESP8266 using http requests and a html/javascript frontend,
working for all of SPIFFS, LittleFS and SDFS.
This unified version is based on the previous examples named FSWebServer, FSBrowser and SDWebServer, Copyright (c) 2015 Hristo Gochkov. All rights reserved.
## How to use it ?
1. Uncomment one of the `#define USE_xxx` directives in the sketch
2. Add the credentials of your WiFi network (search for `STASSID`)
3. Compile and upload the sketch to your ESP8266 device
4. For normal use, copy the contents of the `data` folder to the filesystem. To do so:
- for SDFS, copy that contents (not the data folder itself, just its contents) to the root of a FAT/FAT32-formated SD card connected to the SPI port of the ESP8266
- for SPIFFS or LittleFS, please follow the instructions at https://arduino-esp8266.readthedocs.io/en/latest/filesystem.html#uploading-files-to-file-system
5. Once the data and sketch have been uploaded, access the editor by pointing your browser to http://fsbrowser.local/edit
## Options
If you need to free some space on the ESP filesystem, you can delete all the sample files at the root but also replace the `index.htm` file in the `data/edit` subfolder by the `index.htm.gz` file from the `extras` folder. That compressed version is not suited for learning or debugging, but will bring the total FS usage under 7KB.
If you want to use the browser on a an existing filesystem or don't want to perform step 4 above, you have two possibilities :
- either upload the `index.htm` file to the filesystem by opening a command shell in the `data` folder and running the following cURL command:
`curl -F file=@edit/index.htm;filename=/edit/index.htm fsbrowser.local/edit`
- or embed a version of the html page in the source code itself by uncommenting the following line in the sketch and rebuilding:
`#define INCLUDE_FALLBACK_INDEX_HTM`
That embedded version is functionally equivalent and will be returned if no `/edit/index.htm` or `/edit/index.htm.gz` file can be found on the filesystem, at the expense of a higher binary size.
If you use the gzipped or `INCLUDE_FALLBACK_INDEX_HTM` options, please remember to rerun the `reduce_index.sh` script located in the `extras` subfolder and recompile the sketch after each change to the `index.html` file.
## Dependency
The html page uses the [Ace.js](https://ace.c9.io/) (v1.4.9 at the time of writing) text editor which is loaded from a CDN. Consequently, internet access from your web browser is required for the FSBrowser editing feature to work as-is.
If your browser has no web access (e.g. if you are connected to the ESP8266 as an access-point), you can copy the `ace.js` file to the `edit` subfolder of the ESP filesystem, along with optional plugins etc. according to your needs. A typical set might be:
```
ace.js
ext-keybinding_menu.js
ext-searchbox.js
mode-html.js
worker-html.js
worker-css.js
worker-javascript.js
mode-xml.js
worker-xml.js
mode-json.js
worker-json.js
```
(see https://github.com/ajaxorg/ace-builds for a full list).
If `ace.js` cannot be found on the ESP filesystem either, the page will default to a plain text viewer, with a warning message.
## Notes
- See https://arduino-esp8266.readthedocs.io/en/latest/filesystem.html for more information on FileSystems supported by the ESP8266.
- For SDFS, if your card's CS pin is not connected to the default pin (4), uncomment the `fileSystemConfig.setCSPin(chipSelectPin);` line, specifying the GPIO the CS pin is connected to
- `index.htm` is the default index returned if your URL does not end with a filename (works on subfolders as well)
- Filesystem limitations apply. For example, FAT16 is limited to 8.3 filenames - see https://en.wikipedia.org/wiki/8.3_filename - SPIFFS and LittleFS also have limitations, please see https://arduino-esp8266.readthedocs.io/en/latest/filesystem.html#spiffs-file-system-limitations
- Directories are supported on SDFS and LittleFS. On SPIFFS, all files are at the root, although their names may contain the "/" character.
- The convention here is that the root of the filesystem is "/". On SPIFFS, paths not started with a slash are not supported
- For creation, the convention is that a path ending with a "/" means create a folder, while without a "/" we create a file. Having an extension or not does not matter.
## Changelog since original FSBrowser
### Fixes to work on LittleFS based on SDFS
- #define logic to select FS
- switched from SD to SDFS
- begin() does not support parameters > removed SS and added optional config
- LittleFS.open() second parametsr is mandatory > specified "r" where needed
- 'FILE_WRITE' was not declared in this scope > replaced by "w"
### UI/usability improvements
- Never format filesystem, just return "FS INIT ERROR" when FS cannot be mounted
- Tree panel width is now proportional (20%) to see long names on big screens
- Added icons for files, and indented them to the same level as folders
- Changed file/folder icon set to use a lighter and more neutral one, and added specific "text" and "image" icons for formats recognized as such
- Items are now sorted (folders first, then plain files, each in alphabetic order)
- Added file size after each file name
- Added FS status information at the top right
- Made clear that an async operation is in progress by dimming screen and showing operation status
- Filled filename box in header with the name of the last clicked file
- Selecting a file for upload defaults to putting it in the same folder as the last clicked file
- Removed limitation to 8.3 lowercase filenames
- Support Filenames without extension, Dirnames with extension
- Improved recursive refresh of parts of the tree (e.g. refresh folder upon file delete, show last folder upon creating nested file)
- Added Save/Discard/Help buttons to ACE editor, discard confirmation on leave, and refresh tree and status upon save
- Removed "Upload" from context menu (which didn't work anyway)
- Added "Rename/Move" feature to context menu
- Sketch can be used on a preexisting filesystem by embedding the index.htm file in the program
## TODO (maybe)
- ? How can we query the fatType of the SDFS (FAT16 or FAT32) to limit filenames to 8.3 on FAT16 ?
- ? Add a visible root node "/" (with no delete option) + add the FS type next to it, like <i>LittleFS</i>
- ? move "Mkdir" and "MkFile" to context menu, with prompt like for Rename/Move
- ? implement drag/drop for move + make "rename" only a local rename operation (no move)
- ? Optionally present SPIFFS as a hierarchical FS too
- ? Optionally mount several filesystems at the same time (SPIFFS + SDFS or LittleFS + SDFS)
## Test suite
These tests are a checklist of operations to verify the FSBrowser behaviour.
### On SPIFFS
#### 8.3 filenames
- At root : MkFile '/1.txt' / List / Edit / Download / Delete / Upload '/1.png' / View image / Delete image
- In subdir : MkFile '/dir/2.txt' / List / Edit / Download / Delete / Upload '/dir/2.png' / View image
- Create nested file '/a/b.txt' and delete it
- Attempt creation of unsupported filenames
#### Long filenames
- At root : MkFile '/My text file 1.txt' / List / Edit / Download / Delete / Upload '/My image file 1.png' / View image / Delete image
- In subdir : MkFile '/My Directory/My text 2.txt' / List / Edit / Download / Delete / Upload '/My Directory/My image 2.png' / View image
- Create nested file '/My folder/My test file.txt' and delete it
### On LittleFS
#### 8.3 filenames
- At root : MkFile '/1.txt' / List / Edit / Download / Delete / Upload '/1.png' / View image / Delete image / Mkdir '/dir'
- In subdir : MkFile '/dir/2.txt' / List / Edit / Download / Delete / Upload '/dir/2.png' / View image / Mkdir '/dir/sub'
- Delete root folder '/dir'
- Create nested file '/a/b.txt' and delete file 'b.txt'
#### Long filenames
- At root : MkFile '/My text file 1.txt' / List / Edit / Download / Delete / Upload '/My image file 1.png' / View image / Delete image / Mkdir '/My Directory'
- In subdir : MkFile '/My Directory/My text file 2.txt' / List / Edit / Download / Delete / Upload '/My Directory/My image file 2.png' / View image / Mkdir '/My Directory/My Subdirectory'
- Delete root folder '/My Directory'
- Create nested file '/My folder/My test file.txt' and delete file 'My test file.txt'
### On SDFS
#### 8.3 filenames
- At root : MkFile '/1.txt' / List / Edit / Download / Delete / Upload '/1.png' / View image / Delete image / Mkdir '/dir'
- In subdir : MkFile '/dir/2.txt' / List / Edit / Download / Delete / Upload '/dir/2.png' / View image / Mkdir '/dir/sub'
- Delete root folder '/dir'
- Create nested file '/a/b.txt' and delete file 'b.txt', then delete '/a'
#### Long filenames
- At root : MkFile '/My text file 1.txt' / List / Edit / Download / Delete / Upload '/My image file 1.png' / View image / Delete image / Mkdir '/My Directory'
- In subdir : MkFile '/My Directory/My text file 2.txt' / List / Edit / Download / Delete / Upload '/My Directory/My image file 2.png' / View image / Mkdir '/My Directory/My Subdirectory'
- Delete root folder '/My Directory'
- Create nested file '/My folder/My test file.txt' and delete file 'My test file.txt'
## Credits
- Original version of FSBrowser written by me-no-dev, contributions over time by various contributors
- Icons are from https://feathericons.com/ . The resulting PNG is passed first through https://compresspng.com/ before being converted to base64 using https://www.base64-image.de/
- The spinner is based on https://github.com/jlong/css-spinners
- Minifiying of index.htm is done using the command line version of https://kangax.github.io/html-minifier/
- Idea of embedding webpage in code borrowed from https://github.com/me-no-dev/ESPAsyncWebServer
License under the LGPL-2.1.

File diff suppressed because it is too large Load Diff

@ -1,101 +1,22 @@
<!--
FSWebServer - Example Index Page
Copyright (c) 2015 Hristo Gochkov. All rights reserved.
This file is part of the ESP8266WebServer library for Arduino environment.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
-->
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head> <head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8"> <meta http-equiv="Content-type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1"> <title>ESP Index</title>
<title>ESP Monitor</title> <style>
<script type="text/javascript" src="graphs.js"></script> body {
<script type="text/javascript"> background-color:black;
var heap,temp,digi; color:white;
var reloadPeriod = 1000;
var running = false;
function loadValues(){
if(!running) return;
var xh = new XMLHttpRequest();
xh.onreadystatechange = function(){
if (xh.readyState == 4){
if(xh.status == 200) {
var res = JSON.parse(xh.responseText);
heap.add(res.heap);
temp.add(res.analog);
digi.add(res.gpio);
if(running) setTimeout(loadValues, reloadPeriod);
} else running = false;
}
};
xh.open("GET", "/all", true);
xh.send(null);
};
function run(){
if(!running){
running = true;
loadValues();
} }
} </style>
<script type="text/javascript">
function onBodyLoad(){ function onBodyLoad(){
var refreshInput = document.getElementById("refresh-rate"); console.log("we are loaded!!");
refreshInput.value = reloadPeriod;
refreshInput.onchange = function(e){
var value = parseInt(e.target.value);
reloadPeriod = (value > 0)?value:0;
e.target.value = reloadPeriod;
}
var stopButton = document.getElementById("stop-button");
stopButton.onclick = function(e){
running = false;
}
var startButton = document.getElementById("start-button");
startButton.onclick = function(e){
run();
}
// Example with 10K thermistor
//function calcThermistor(v) {
// var t = Math.log(((10230000 / v) - 10000));
// t = (1/(0.001129148+(0.000234125*t)+(0.0000000876741*t*t*t)))-273.15;
// return (t>120)?0:Math.round(t*10)/10;
//}
//temp = createGraph(document.getElementById("analog"), "Temperature", 100, 128, 10, 40, false, "cyan", calcThermistor);
temp = createGraph(document.getElementById("analog"), "Analog Input", 100, 128, 0, 1023, false, "cyan");
heap = createGraph(document.getElementById("heap"), "Current Heap", 100, 125, 0, 30000, true, "orange");
digi = createDigiGraph(document.getElementById("digital"), "GPIO", 100, 146, [0, 4, 5, 16], "gold");
run();
} }
</script> </script>
</head> </head>
<body id="index" style="margin:0; padding:0;" onload="onBodyLoad()"> <body id="index" onload="onBodyLoad()">
<div id="controls" style="display: block; border: 1px solid rgb(68, 68, 68); padding: 5px; margin: 5px; width: 362px; background-color: rgb(238, 238, 238);"> <h1>ESP8266 Pin Functions</h1>
<label>Period (ms):</label> <img src="pins.png" />
<input type="number" id="refresh-rate"/>
<input type="button" id="start-button" value="Start"/>
<input type="button" id="stop-button" value="Stop"/>
</div>
<div id="heap"></div>
<div id="analog"></div>
<div id="digital"></div>
<p style="padding-top:15px;text-align:center">
<a href="/_ac"><img src="data:image/png;base64,iVBORw0KG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></a>
</p>
</body> </body>
</html> </html>

Binary file not shown.

After

Width:  |  Height:  |  Size: 54 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

@ -0,0 +1,529 @@
// WARNING: Auto-generated file. Please do not modify by hand.
// This file is an embeddable version of the gzipped index.htm file.
// To update it, please rerun the `reduce_index.sh` script located in the `extras` subfolder
// then recompile the sketch after each change to the `index.html` file.
unsigned char index_htm_gz[] = {
0x1f, 0x8b, 0x08, 0x08, 0x96, 0xc9, 0xa8, 0x5e, 0x00, 0x03, 0x69, 0x6e,
0x64, 0x65, 0x78, 0x2e, 0x68, 0x74, 0x6d, 0x00, 0xdc, 0x3b, 0x89, 0x7b,
0xda, 0xb8, 0x97, 0xff, 0x8a, 0xe3, 0xee, 0x24, 0xf6, 0x02, 0x06, 0x92,
0xe6, 0x28, 0xc4, 0xc9, 0xe4, 0x4e, 0x9a, 0xb3, 0xb9, 0xd3, 0x6e, 0xf7,
0xfb, 0x04, 0x16, 0xa0, 0xc4, 0xd8, 0xae, 0x2d, 0x07, 0x48, 0xca, 0xfe,
0xed, 0xfb, 0x9e, 0xe4, 0x13, 0x4c, 0x32, 0xdd, 0x9d, 0xf9, 0xcd, 0xec,
0xb6, 0xf3, 0x15, 0x5b, 0x96, 0x9e, 0xde, 0x7d, 0x49, 0xb3, 0x3e, 0xb7,
0x7b, 0xbe, 0x73, 0xfd, 0x70, 0xb1, 0xa7, 0xf4, 0x78, 0xdf, 0x56, 0x2e,
0x6e, 0xb6, 0x4f, 0x8e, 0x76, 0x14, 0xb5, 0x52, 0xad, 0xde, 0x2d, 0xed,
0x54, 0xab, 0xbb, 0xd7, 0xbb, 0xca, 0xfd, 0xe1, 0xf5, 0xe9, 0x89, 0x52,
0x37, 0x6a, 0xca, 0xb5, 0x4f, 0x9c, 0x80, 0x71, 0xe6, 0x3a, 0xc4, 0xae,
0x56, 0xf7, 0xce, 0x54, 0x45, 0xed, 0x71, 0xee, 0x35, 0xaa, 0xd5, 0xc1,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x13, 0x75, 0xf5, 0x64,
0x5a, 0x19, 0x67, 0x5b, 0xd4, 0x75, 0x92, 0xce, 0xb8, 0x3f, 0x17, 0x95,
0xe9, 0x65, 0xb0, 0x91, 0x92, 0x44, 0x84, 0xad, 0xa4, 0x71, 0xf9, 0xb3,
0x20, 0x88, 0x0e, 0x8e, 0x67, 0x82, 0x76, 0xfa, 0x27, 0xc4, 0xbd, 0xa3,
0x7f, 0xb9, 0xa1, 0x68, 0x0e, 0x38, 0x4b, 0x00, 0x00
};
unsigned int index_htm_gz_len = 6261;

@ -0,0 +1,60 @@
#/bin/sh
# Processing script to optionally reduce filesystem use by miniying, gzipping and preparing index.htm for embedding in code.
# Please see readme.md for more information.
# Requires xdd which is part of the VIM package
# Requires npm
# sudo apt install npm
# ln -s /usr/bin/nodejs /usr/bin/node
# Requires html-minifier
# sudo npm install html-minifier -g
html-minifier \
--case-sensitive \
--collapse-boolean-attributes \
--collapse-whitespace \
--minify-css true \
--minify-js true \
--process-conditional-comments \
--remove-attribute-quotes \
--remove-comments \
--remove-empty-attributes \
--remove-optional-tags \
--remove-redundant-attributes \
--remove-script-type-attributes \
--remove-style-link-type-attributes \
-o index.htm \
../data/edit/index.htm
if [ $? -ne 0 ]
then
echo "Error minifying index.htm"
exit -1
fi
if [ -e index.htm.gz ]
then
rm index.htm.gz
fi
gzip index.htm
if [ $? -ne 0 ]
then
echo "Error gzipping minified index.htm"
exit -1
fi
echo '// WARNING: Auto-generated file. Please do not modify by hand.' > index_htm.h
echo '// This file is an embeddable version of the gzipped index.htm file.' >> index_htm.h
echo '// To update it, please rerun the `reduce_index.sh` script located in the `extras` subfolder' >> index_htm.h
echo '// then recompile the sketch after each change to the `index.html` file.' >> index_htm.h
xxd -i index.htm.gz >> index_htm.h
if [ $? -ne 0 ]
then
echo "Error creating include file from index.htm.gz"
exit -1
fi
echo Reduce complete.

@ -26,9 +26,22 @@
#include <WebServer.h> #include <WebServer.h>
#include <SPIFFS.h> #include <SPIFFS.h>
#endif #endif
#include <FS.h>
#include <AutoConnect.h> #include <AutoConnect.h>
/*
AC_USE_SPIFFS indicates SPIFFS or LittleFS as available file systems that
will become the AUTOCONNECT_USE_SPIFFS identifier and is exported as showng
the valid file system. After including AutoConnect.h, the Sketch can determine
whether to use FS.h or LittleFS.h by AUTOCONNECT_USE_SPIFFS definition.
*/
#ifdef AUTOCONNECT_USE_SPIFFS
#include <FS.h>
FS& FlashFS = SPIFFS;
#else
#include <LittleFS.h>
FS& FlashFS = LittleFS;
#endif
// Upload request custom Web page // Upload request custom Web page
static const char PAGE_UPLOAD[] PROGMEM = R"( static const char PAGE_UPLOAD[] PROGMEM = R"(
{ {
@ -126,8 +139,8 @@ String postUpload(AutoConnectAux& aux, PageArgument& args) {
// The file saved by the AutoConnect upload handler is read from // The file saved by the AutoConnect upload handler is read from
// the EEPROM and echoed to a custom web page. // the EEPROM and echoed to a custom web page.
if (upload.mimeType.indexOf("text/") >= 0) { if (upload.mimeType.indexOf("text/") >= 0) {
SPIFFS.begin(); FlashFS.begin();
File uploadFile = SPIFFS.open(String("/" + upload.value).c_str(), FILE_MODE_R); File uploadFile = FlashFS.open(String("/" + upload.value).c_str(), FILE_MODE_R);
if (uploadFile) { if (uploadFile) {
while (uploadFile.available()) { while (uploadFile.available()) {
char c = uploadFile.read(); char c = uploadFile.read();
@ -140,7 +153,7 @@ String postUpload(AutoConnectAux& aux, PageArgument& args) {
} }
else else
content = "Not saved"; content = "Not saved";
SPIFFS.end(); FlashFS.end();
} }
return content; return content;
} }

Loading…
Cancel
Save