Home › Forums › The libraries hosted on the site › Simple FTP Server › simpleFTP Server, esp32cam
Tagged: Enhancement, SimpleFTPServer
- This topic has 9 replies, 2 voices, and was last updated 2 years, 11 months ago by
hahah.
-
AuthorPosts
-
-
27 May 2022 at 14:35 #21020
so i tried to keep the setup of the esp32cam the same as the instructions for esp32. although i used the internal sd card, now using the normal SD.h library, this builtin sd card reader doesn’t initialize using that library. so ihave to use the sd_mmc library. does the simpleFTPserver library support the esp32cam sd_mmc library? or is there a work around that i could use to get the FTP working
thanks
-
27 May 2022 at 14:57 #21021
Hi hahah,
the library use the FS command settings, so for now if you enter in the FtpServer.h file and substitute these lines probably work:#include <SD.h> #define STORAGE_MANAGER SD
with
#include "SD_MMC.h" #define STORAGE_MANAGER SD_MMC
give me feedback.
I do the integration as soon as possible, but I don’t know when 😛 .
-
27 May 2022 at 15:26 #21023
hey another doubt.. do i change the value in FtpServerKey as well?
-
-
27 May 2022 at 15:12 #21022
Thanks a lot for your almost instantaneous reply 🙂
P.S. I’d love to give feedback.. could you tell me where? -
27 May 2022 at 15:58 #21024
You must also change the ESP32 configuration from
#ifndef DEFAULT_FTP_SERVER_NETWORK_TYPE_ESP32 #define DEFAULT_FTP_SERVER_NETWORK_TYPE_ESP32 NETWORK_ESP32 #define DEFAULT_STORAGE_TYPE_ESP32 STORAGE_FFAT #endif
to
#ifndef DEFAULT_FTP_SERVER_NETWORK_TYPE_ESP32 #define DEFAULT_FTP_SERVER_NETWORK_TYPE_ESP32 NETWORK_ESP32 #define DEFAULT_STORAGE_TYPE_ESP32 STORAGE_SD #endif
use this topic for feedback.
Bye Renzo
-
27 May 2022 at 16:11 #21025
-
-
27 May 2022 at 18:09 #21027
It seems a common problem,
https://github.com/espressif/esp-idf/issues/8409
esp32.com/viewtopic.php?t=3155try to add all the code.
Bye Renzo
-
28 May 2022 at 11:31 #21028
i am noticing that this issue only arrises when i use the simpleftp library. other codes that access the sd card like the code that clicks a pic and saves it to sd card when reset button is clicked works fine..
-
-
29 May 2022 at 17:04 #21048
Hi hahah,
please share the code to check if there are some issues.
Bye Renzo -
31 May 2022 at 19:47 #21061
hi. i was able to resolve the problem.. i ended up using the SD library using the example code that came with the library. Thanks for your help!!
Regards.
-
-
AuthorPosts
- You must be logged in to reply to this topic.