A simple Arduino IDE authorized upload example for ESP32 with ESPAsyncWebServer.
- Install AsyncTCP and ESPAsyncWebServer.
- Change your network credentials in
minimalUploadAuthESP32.ino. - Set a
MAX_FILESIZEinminimalUploadAuthESP32.ino. - Flash your ESP and browse to the ESP web page.
The standard Content-Length header gives a wrong filesize, so a custom FileSize header is used instead.