Hi Sara — do you have an example code for downloading and uploading (Windows) files through WiFi? I searched your examples and tutorials and don’t believe there is one.
Thanks greatly, Regards
Bernie
Hi.
Unfortunately, you’re right.
We don’t have any resources about that subject.
Regards,
Sara
Hi Bernie,
I use Simple FTP Server and Client for the esp8266/esp32 with SPIFFS and LittleFS support. Library allows upload and download files; both ESP32 LittleFS files and Windows files, to and from the ESP32 over WiFi.
Used the dplasa, FTPClientServer library in Cameraraingauge project.
FTP portion of the webserver is not linked to the public:
ESP32 Webserver for Cameraraingauge project.
FTP is used for webserver maintenance in my project and viewing files not publicly linked. Combined with FTP program “Filezilla”; file handling between Windows PC and ESP32 becomes easy!
Regards,
William
Thank you so much William. I will certainly explore FTP as a method for file transfer.
As my files are on a SDFat device, I wonder what the use for SPIFFS or LittleFS are?
A file system in SRAM I believe is overkill. As one has random access to the structures, one can always implement a suitable and fast data structure. But for the SD drive, why not SDFat?
Regards,
Bernie
Hi Bernie,
Found ESP32_FTPServer_SD library; may be what you are looking for sending SDFat card files to Windows computer.
Regards,
William