Instruction on FTP server on esp8266 and esp32
Simple FTP Server for
- esp8266 (SPIFFs, LittleFS)
- esp32 (SPIFFS)
- Arduino (SD with 8.3 file format)
When I develop a new solution I'd like to divide the application in layer, and so I'd like focus my attention in only one aspect at time.
In detail I separate the REST layer (written inside the microcontroller) and the Front-End (written in Angular, React/Redux or vanilla JS), so I'd like to upload new web interface directly to the microcontroller via FTP.
For static information (Web pages for examples), that not change frequently, esp8266 or esp32 have internal SPIFFS (SPI Flash File System) and you can upload data via Arduino IDE as explained in the article "WeMos D1 mini (esp8266), integrated SPIFFS Filesystem" for esp8266 or "ESP32: integrated SPIFFS FileSystem" for esp32 or with LittleFS "WeMos D1 mini (esp8266), integrated LittleFS Filesystem" but for fast operation and future support It's usefully use FTP.