int Client::SendFTP(char Send[]){ long bytesent; char recvbuf[8192] = ""; int bytesrec = SOCKET_ERROR; bytesent = send(this->Connexion,Send,strlen(Send),0); while (bytesrec == -1){bytesrec = recv(this->Connexion,recvbuf,8192,0);} cout << recvbuf; }