-
Couldn't load subscription status.
- Fork 25
Description
Dear fa1ke5,
Thanks for your great code. I succeeded to make it works with the ESP32-CAM but with a small (and ugly modification) because it failed without it.
I easily succeeded to connect to the esp32-CAM with filezilla and observe the content of the directory of the sd card (pictures in my case). However, i failed to download the pictures or to upload any files on the sd card. I got the error : "501 No file name"
I check the ESP32FtpServer.cpp and try a "ugly trick" to see what happens. I simply comment the if (haveParameter()) and write something ugly to be sure to DO NOT enter in the "if" leading to the '501 No file name" error.
// if (haveParameter())
int x = 1;
if (x == 2)
{
client.println("501 No file name");
}
I did that for the RETR command and also for the STOR command and then I could magically download and upload my pictures without problem.
I have no idea about the reason for this behaviour but i suggest, if you are still maintaining this code, to rewrite / propose a patch so users using ESP32-CAM can directly use your code without this ugly modification.
Thanks again and all the best,
Viafx24