First of all, thanks for all of your work, this is great !
I am using an esp12e board, and i use it as a WiFi access point, and i implmented you simpleFTPserver in my code. As i read it, it is pretty simple to do it, i only had to update local IP address, because in AP mode, the lib does not do it. The FTP server couldn’t work correctly because of 0.0.0.0 local IP address.
IPAddress myIP = WiFi.softAPIP();
IPAddress gateway(0, 0, 0, 0); // set gateway to match your network -> but i do not use :)
IPAddress subnet(255, 255, 255, 0); // set subnet mask to match your network
WiFi.config(myIP, gateway, subnet);
I am using serial interface to grab some datas and write it on SD card. But for some reason, FTP server seems to stop working correctly when working with serial.
So i am mannaged to stop sending serial datas when client connected to ftpServer, it seems better but i still have some issues.
So my question (at least ! 😉 ) is : is it possible to stop the FTP server for a while (i would like to stop it when no client is connected on WiFi AP) and start it when a WiFi client gets connected ?
Have a nice day,
I am back!
I just had a look again in the lib… and i found … end() function!
So here is my answer, i don’t why i have not seen it before :/
Sorry for flooding the forum ^^
Thanks again for your work !
Maintaining a repository (or site or forum) is a lot like tending to a garden - it requires constant care and attention to keep it thriving. If you're a skilled gardener (or coder!) and want to help keep our repository blooming, we'd love to have you on board! We're also looking for talented writers and forum moderators to help us grow our community. Interested in joining our team? Don't hesitate to reach out and let us know how you can contribute!
Are you a fan of electronics or programming? Share your knowledge with others, write a simple tutorial or how to make a great project Contact me: email@example.com
The content displayed on this website is protected under a CC BY-NC-ND license. Visitors are prohibited from using, redistributing, or altering any content from this website for commercial purposes, including generating revenue through advertising. Any unauthorized use is a violation of the license terms and legal action may be taken against individuals or entities found to be in violation.
You must also provide the link to the source.