Skip to content
This repository has been archived by the owner on Feb 4, 2023. It is now read-only.

Latest commit

 

History

History

ESP32_FSWebServer_DRD

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

ESP32_FSWebServer_DRD Example

Compare this efficient ESP32_FSWebServer_DRD example with the so complicated twin ESP32_FSWebServer_DRD to appreciate the powerful AsynWebServer this ESP32_SC_W6100_Manager Library is relying on.

First, how Config Portal works?

Connect to Config Portal @ the localIP address, e.g. 192.168.2.232

You'll see this Main page:

Select Information to enter the Info page where the board info will be shown (long page)

Select Configuration to enter this page where you can select an AP and specify its WiFi Credentials

Enter your credentials, then click Save.


How to use this ESP32_FSWebServer_DRD example?

This shows you how to use this example in Ubuntu (but you can use similar commands in other OSes)

Download Data files

  1. For example, you already downloaded data files from ESP32_FSWebServer_DRD data to a local folder, for example:
~/Arduino/libraries/ESP32_SC_W6100_Manager-main/examples/ESP32_FSWebServer_DRD/data

HOWTO Upload files to ESP32 (SPIFFS or FFat)

Use one of these methods (preferable first)

  1. Go to http://async-esp32fs.local/edit, then "Choose file" -> "Upload"
  2. or Upload the contents of the data folder with MkSPIFFS Tool ("ESP8266 Sketch Data Upload" in Tools menu in Arduino IDE)
  3. or upload the contents of a folder by running the following commands:
Ubuntu$ cd ~/Arduino/libraries/ESP32_SC_W6100_Manager-main/examples/ESP32_FSWebServer_DRD/data
Ubuntu$ for file in \`\ls -A1\`; do curl -F "file=@$PWD/$file" http://async-esp32fs.local/edit; done

Demonstrating pictures

  1. Edit / Delete / Download any file in the the folder by going to http://async-esp32fs.local/edit