Uploading OTA image file and any html files.
/index.html
, /favicon.ico
, /style.css
and scripts.js
can be overridden by uploading files with same names.
-
Open the project configuration menu (
idf.py menuconfig
) go toExample Configuration
->- WIFI SSID: WIFI network to which your PC is also connected to.
- WIFI Password: WIFI password
-
In order to test the file server demo :
- compile and burn the firmware
idf.py -p PORT flash
- run
idf.py -p PORT monitor
and note down the IP assigned to your ESP module. The default port is 80 - test the example interactively on a web browser (assuming IP is 192.168.100.40):
- open path
http://192.168.100.40
orhttp://192.168.100.40/index.html
to see an HTML web page with upload menu - use the file upload form on the webpage to select and upload a file to the server
- uploading a firmware file or html files (*.html, *.css, *.js or other)
- open path
- compile and burn the firmware