I’m trying to adapt the WIZ5500 FTP server example in my project with a WI812Mj. The original FTP software did not sufficient work with the ALFTP (for me) so I moved to FileZilla. After some SW changes, I already can reliable connect the Filezilla client to my server . I get the directories and their contents also reliable. I’m also able to download short files from my server to the client. However, I’m not able to upload files from client to my server.
As soon as I setup the data path socket (SOCK_INIT with port 20, it was closed before) , I’m instantly getting state SOCK_CLOSE_WAIT , then SOCK_LAST_ACK and finally SOCK_CLOSED. With other words, I can’t reach state ESTABLISHED in case of upload. I have no idea why that happens.
I assume my information about the issue is not sufficient for analysis and I know it is a problem of my own SW exclusively. Neverthelss, does anybody have an idea what my problem with the socket states is ?
Does anybody know if there is a kind of flow diagram for FTP Server , similar to the WIZNET flow diagrams for TCP/IP Loopback or http server?
Does anybody know another working FTP server example ( in C) as for the WIZ5500
Thank you very much.