I am a C Newbie. I have been working on this simple FTP client for my school, and I have been coming a particular issue with the FTP protocol. I cant seem to get a handle on the NVT-ASCII format. I try to send commands over the control connection based on my interpretation of the commands in the FTP protocol, and I am not getting anywhere. Any advice? But to show an example, I dont see any examples for sending an NLST command. The specs say 'NLST [<sp> <path-name>] <crlf>', and I interpret it as 'NLST \r\n', as if you want to specify the current directory, you need a null argument. am I on the right track? or are other things involved that I seem to be missing?
Thanks again for your help.