FTP Parser in GO Lang

I have successfully configured a TCP server listening on two ports in parallel as required in FTP. Now I want to implement FTP protocol over those. I have searched, I know there are existing ones like goftp and latest one paradise_ftp. But my assignment is to design an basic one. I am looking for a basic ftp parser so that I could parse tcp packets and check about the commands I actually get from FTP client.

If you know C/C++ you can start with this one: https://github.com/shuLhan/libvos/blob/master/FTPD.cpp#L488

Basically you parse the command send by the client,


IF you can parse the CMD (separated by space), the rest of it is only call a function and pass the parameter into it.

Thanks for help. Actually I am looking some basic one in Go Lang.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.