Some little Arduino scripts with a simple Web File Manager for your ESP8266/ESP32 LittleFS files
Control files on your ESP board through a web browser! 📂➡️🖥️
Upload, delete, and view files directly from your phone or computer.
- Works with ESP32 and ESP8266
- No apps needed - works in any browser
- See file sizes and dates
- Upload multiple files at once
- Delete files with 1 click
- Simple "Format" button to erase everything
- ESP32 or ESP8266 board
- USB cable
- WiFi network
- Computer with Arduino IDE
-
Add board support:
- ESP32:
https://espressif.github.io/arduino-esp32/package_esp32_index.json
- ESP8266:
http://arduino.esp8266.com/stable/package_esp8266com_index.json
(File > Preferences > Additional Boards URLs)
- ESP32:
- Open the *.ino file for your board in the Arduino IDE
// WiFi Credentials
#define WIFI_SSID "Your_WiFi_SSID"
#define WIFI_PASSWORD "Your_WiFi_Password"
// NTP Configuration (GMT+1 with DST)
configTime(3600, 3600, "pool.ntp.org");
- Connect to serial monitor (115200 baud)
- Wait for IP address confirmation
- Access in browser:
http://[ESP-IP]
- http://[ESP-IP]/ → Redirects to /main (if index.html exists)
- http://[ESP-IP]/fs → File Manager UI
- http://[ESP-IP]/reset → Restart the ESP
📁 Click to show code
ets Jul 29 2019 12:21:46
rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:1
load:0x3fff0030,len:4916
load:0x40078000,len:16436
load:0x40080400,len:4
ho 8 tail 4 room 4
load:0x40080404,len:3524
entry 0x400805b8
..
Connected! IP-Adresse: 192.168.206.238
LittleFS initialized.
Server is now listening ...
Upload started: /infos.txt
File opened for writing
Bytes written to file: 1436
Bytes written to file: 1436
Bytes written to file: 1436
Bytes written to file: 1436
Bytes written to file: 1436
Bytes written to file: 1324
Upload finished. File closed
Upload started: /Test.txt
File opened for writing
Bytes written to file: 75
Upload finished. File closed
View: Test.txt
.......
Connected! IP-Adresse: 192.168.206.105
LittleFS initialized.
Server is now listening ...
Upload started: /infos.txt
File opened for writing
Bytes written to file: 2048
Bytes written to file: 2048
Bytes written to file: 2048
Bytes written to file: 2048
Bytes written to file: 312
Upload finished. File closed
Upload started: /Jumbli.txt
File opened for writing
Bytes written to file: 75
Upload finished. File closed
View: Test.txt
Ask in the GitHub Discussions
I'm happy to help beginners! 😊
This project is open-source and available under the MIT License - see the LICENSE file for full details.
You are free to:
- Use commercially
- Modify freely
- Distribute copies
- Place private use
Only requirement: Include original license in copies
Made with ❤️ for IoT Beginners
Works with Arduino IDE 3.x - Last tested: Jan 2025