ftp : use send and recev
DevRaph opened this issue · 0 comments
DevRaph commented
make test with this two not with two read on socket
steps
- while read 0 in client
- send msg of "position commandes"
- receive in serveur
- split msg receive !!! special split (gestion of " ") >> if " -> error
- parse in position client/serveur when cmd (or env), cmd, option (-), params (= or other) << structure for commande
- if ; create other struct commande (list)
- builtin
- execv by fork or functions
- free each part of list