I have to program the code for a client who wants to transfer a file to a server, the protocol RCFTP. The operation should be: the client sends a request to save a portion of the file, the server will respond if you have received this piece without errors. If so, the client will still send pieces of the file until you have submitted all without errors. If a transmission error, the client must send back the piece of file failed.
Would know a little help to get started?
Search for socket tutorials using your favourite internet search engine.
I found one here
At first, if you want to code an ftp client read really carefully this : RFC959.
To help you for the beginning, here is few steps you need to know (for sure, i won't describe everything, but it will probably help you) :
To send file you have to use the passive mode :
Then leave your session using on the control socket the command QUIT.
It's clearly easy to code a simple ftp client if you are used to "sockets concept".