- This topic has 2 replies, 2 voices, and was last updated 2 years, 7 months ago by .
- You must be logged in to reply to this topic.
Tagged: SimpleFTPServer esp32 FTP
Hi,
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,
Dominique
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 !
dominique
Hi, Dominique,
Don’t worry, but I don’t test that function deeply; give me feedback about that functionality.
For the Serial problem, can you explain which issue you have?
Bye Renzo
More
3D Printer 3D printer upgrade ABB Arduino Arduino IDE Arduino SAMD boards Aurora AWS CNC Cyclone PCB Factory Cyclone PCB Factory how to build It Display DynamoDB E32 E70 EByte esp01 esp32 esp8266 File System Firmware i2c Library LoRa MicroPython Milling PCB My PCB Networking PCB pinout Power saving Raspberry Pi REST API RF rp2040 SD Card Sensors Sleep and Wake UP SPI STM32 Temperature Tutorial Web Server Wemos D1 mini WiFi