- This topic has 2 replies, 2 voices, and was last updated 3 years, 7 months ago by .
Viewing 2 reply threads
Viewing 2 reply threads
- 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
Just like a well-organized workbench, this website uses cookies to function properly and efficiently.
🛠️ The Essentials (Necessary): Some cookies are categorized as necessary and are stored on your browser because they are critical for the basic working of the site.
📊 The Analytics (Third-party): We also use third-party cookies to help us analyze traffic and understand which projects you like the most. These are stored only if you give us the green light.
You can choose to opt-out, but keep in mind that disabling them might make the site experience a bit less "smooth".
| Cookie | Duration | Description |
|---|---|---|
| cookielawinfo-checkbox-analytics | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics". |
| cookielawinfo-checkbox-functional | 11 months | The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional". |
| cookielawinfo-checkbox-necessary | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary". |
| cookielawinfo-checkbox-others | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other. |
| cookielawinfo-checkbox-performance | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance". |
| viewed_cookie_policy | 11 months | The cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data. |
