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

Can LittleFS files be accessed from a PC? #2

Answered by khoih-prog
Laserjones asked this question in Q&A
Discussion options

You must be logged in to vote

Everything is possible, but certainly somebody needs to write some code for it, if not available yet.

Check the examples in my libraries

  1. ESP32_FS_EthernetWebServer and FS_EthernetWebServer of EthernetWebServer library,
  2. AsyncFSBrowser_WT32_ETH01 of AsyncWebServer_WT32_ETH01 library
  3. Async_ESP32_FSWebServer, etc. of ESPAsync_WiFiManager library
  4. ESP32_FSWebServer of ESP_WiFiManager library

where you can use the PC's curl function to load the software onto ESP32 LittleFS by

for file in `\ls -A1`; do curl -F "file=@$PWD/$file" localIPAddress/edit; done

So, the easiest way is to use a WiFiWebServer or EthernetWebServer to generate a full-fledged WebServer, then you can read / write any LittleFS

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Laserjones
Comment options

Answer selected by Laserjones
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants