I wrote an ftp client in C using sockets, and a convenient API made by hubenchang0515 on GitHub called libftpclient. I followed the demo.c file shown in the repository; when I'm using the
put command to upload files, the file gets uploaded, but when I try to run any other command after that, the program just gets stuck.
I can't show the code because this is for a college project but the upload function of the demo.c file is what I used for the client (the usage of external APIs is allowed as long as it is mentioned).
This is a pretty desperate question I'm asking as the project is due on Friday this week.