xreef / SimpleFTPServer

A simple FTP server for Arduino, ArduinoSAMD WiFiNINA, esp8266, esp32, stm32 and Raspberry Pi Pico W

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The ftp server disconnects immediately

faustolnx opened this issue · comments

Good morning,
I am trying your SimpleFTPServer library, but I have a problem.
I execute the command from cmd windows, ftp 10.0.0.177, the welcome message is displayed, but it disconnects immediately and displays the message 221 Goodbye, without giving me the possibility to insert user and password.
I am testing the library with an ESP32 and W5500 and it has been so configured

// esp32 configuration
#ifndef DEFAULT_FTP_SERVER_NETWORK_TYPE_ESP32
#define DEFAULT_FTP_SERVER_NETWORK_TYPE_ESP32 NETWORK_W5100 // NETWORK_ESP32
#define DEFAULT_STORAGE_TYPE_ESP32 STORAGE_FFAT
#endif

The LAN card works perfectly, I tried with http and udp examples.

Any help from you is appreciated in getting the library to work
Thank you
Fausto

Test_SimpleFTP.zip
image

Hi,
I think the client stop and asking the user.

Use a GUI client like filezilla to test It.
Or resource explorer of windows.

Bye Renzo