Hello,
Firstly I want to say thankyou for putting in the effort to make such a cool library, I'm very keen to make use of it in my projects.
I am running your example FTP_Server_SDFAT2 built in the Arduino IDE.
I am attempting to connect with a few different FTP clients that I believe you have shown to work.
The one example I will give of the issue I am seeing is with Classic FTP, but the same issue is happening with WinSCP.
here is the log from the client:
06:40:25 Classic FTP File Transfer Software Run
06:40:26 Click the Connect button to connect to a site
06:40:41 Connecting to server: 192.168.2.241.
06:40:41 Connecting...
06:40:42 Response: 220 -- FTP_Server_Teensy41 v1.1.0 --
06:40:42 Response: 331 Ok. Password required
06:40:42 Command: PASS ********
06:40:42 Response: 230 Ok
06:40:42 Connected OK.
06:40:42 Changing directory to /
06:40:42 Response: 250 Directory changed to /
06:40:43 Response: 257 "/" is your current directory
06:40:43 Response: 200 TYPE is now ASCII
06:40:44 The server has timed out the connection.
06:40:44 Disconnected from server.
and the debug (level4) capture from the server:
Initialize Ethernet using static IP => IP Address = 192.168.2.241
FTP Server Credentials => account = teensy4x, password = ftp_test
[FTP] Ftp server waiting for connection on port 21
[FTP] Client connected!
USER teensy4x
PASS ftp_test
[FTP] Authentication Ok. Waiting for commands.
CWD /
PWD
FEAT
TYPE A
PASV
[FTP] Connection management set to passive
[FTP] Listening at 192.168.2.241 : 55600
[FTP] Ftp server waiting for connection on port 21
So for reasons I cannot determine, the client is reporting that the server is timing out the connection, however the debug does not report a disconnnect, but does say waiting for new connection.
Is there a setting I don't have correct on either end?
Can you recommend something to try?
Many thanks
Craig