End the sending of data to the remote server. This is done by ensuring that the data already sent ends with CRLF then sending '.CRLF' to end the transmission. Print debugging information. DIR denotes the direction true being data being sent to the server. This method is called to print debugging information.
TEXT is the text being sent.
The method should return the text to be printed This is primarily meant for the use of modules such as FTP where passwords are sent, but we do not want to display them in the debugging information. Send a command to the command server. All arguments a first joined with a space character and CRLF is appended, this string is then sent to the command server. Obtain a response from the server. Upon success the most significant digit of the status code is returned.