Is it possible to ESP32 read a file from a computer over the lan ?
Posted: Mon Oct 12, 2020 6:03 pm
Hello everyone!
Sorry if the question is trivial, but I cannot figure out how and even if it is possible.
Problem is: I have a computer connected on a network with a fixed IP and I want to read a specific file on a specific folder on C: drive (like C:\test\file.txt). It is a plain text file, no special characters inside.
I should use an Ethernet adapter as the computer doesn't have Wi-Fi.
ESP32 must read it automatically and independently, no additional programs are allowed to run on this computer, so a webserver or similar is not an option.
I don't need to transfer or read all file content, just last 5 lines are important for the application. But I can transfer entire file and store if in SPIFFS and read it later if this is easier.
Today I have an RPi Zero doing this job, but the idea is to replace it by an ESP32.
Should I consider run it in MicroPtyhton?
Thank you in advance!
Luis
Sorry if the question is trivial, but I cannot figure out how and even if it is possible.
Problem is: I have a computer connected on a network with a fixed IP and I want to read a specific file on a specific folder on C: drive (like C:\test\file.txt). It is a plain text file, no special characters inside.
I should use an Ethernet adapter as the computer doesn't have Wi-Fi.
ESP32 must read it automatically and independently, no additional programs are allowed to run on this computer, so a webserver or similar is not an option.
I don't need to transfer or read all file content, just last 5 lines are important for the application. But I can transfer entire file and store if in SPIFFS and read it later if this is easier.
Today I have an RPi Zero doing this job, but the idea is to replace it by an ESP32.
Should I consider run it in MicroPtyhton?
Thank you in advance!
Luis