ESP32 FTP server timeout problem

Home Forums esp32 ESP32 FTP server timeout problem

Tagged: ,

Viewing 4 reply threads
  • Author
    Posts
    • #21511
      jimh
      Participant

        Hello Renzo,

        I’m having trouble with SimpleFTPServer on an ESP32 DevKit V1 (Wrover module based)
        Using the esp8266_esp32_SPIFFS.ino Example in the SimpleFTPServer library directories in Ardino 1.8.19. Libraries have been updated recently.

        When I FTP to the IP address, the Arduino Serial Monitor says:
        Connected to LOCUST_2
        IP address: 192.168.1.117
        SPIFFS opened!
        FTP: Connected! (( about ten second delay ))
        FTP: Disconnected!

        The FTP clients say:
        220—Welcome to Simply etc etc
        530 Timeout
        221 Goodbye

        I’ve tried FileZilla, WSFTP and windows and linux command line ftp clients, same results.

        I have applied the #define DEFAULT_STORAGE_TYPE_ESP32 STORAGE_SPIFFS in FtpServerKey.h

        Any suggestions? And thanks for your wealth of technical magic!!

        Thanks, Jim

      • #21518
        Renzo Mischianti
        Keymaster

          Hi jimh,
          It’s strange, I do some test now, but seems It’s all ok.

          A user tell me that there is some problem with latency, and in the future, I do a big change to solve that, but FileZilla must work well now.

          Can you try to set

              
          WiFi.setSleep(false);
          

          as described here.

          Keep in touch Renzo

        • #21532
          jimh
          Participant

            Hello,

            I added the WiFi.setSleep(false); as the last statement in the void setup(void){ and it still does a timeout and disconnect in about 10 seconds.

            Does SimpleFTPServer have a verbose mode that may offer more information?

            Thanks, Jim

          • #21533
            Renzo Mischianti
            Keymaster

              Yes Jimh,
              you must uncomment this line

              
              // #define FTP_SERVER_DEBUG
              

              Bye Renzo

            • #21562
              Renzo Mischianti
              Keymaster

                Hi Jimh,
                any news?

            Viewing 4 reply threads
            • You must be logged in to reply to this topic.
            Exit mobile version