slacky1965 / http_server_from_sdcard

Uploading OTA image file and any html files, and deleting uploaded files. esp8266 NONOS SDK.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

http_server__from_sd_card NONOS_SDK app (example)

Uploading OTA image file and any html files.

Note

This example uses a modified esp_http_server component to implement the match uri

/index.html, /favicon.ico, /style.css and scripts.js can be overridden by uploading files with same names.

Usage

  • cd /you/path/ESP8266_NONOS_SDK

  • git clone https://github.com/slacky1965/http_server_from_sdcard.git

  • cd web_server_uploader_esp8266

  • Go to project/user/include/wifi.h

    1. edit to wifi.h for you settings.
  • make all for compiling applications

  • make flash to download the app

  • In order to test the file server demo . test the example interactively on a web browser (assuming IP is 192.168.100.40): - open path http://192.168.100.40 or http://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)

  • make clean - default clean

About

Uploading OTA image file and any html files, and deleting uploaded files. esp8266 NONOS SDK.

License:MIT License


Languages

Language:C 89.0%Language:HTML 10.0%Language:Makefile 0.4%Language:CSS 0.2%Language:JavaScript 0.2%Language:Shell 0.1%Language:Batchfile 0.1%