Some platforms represent end of line with LF characters, some with CR characters, some with a CRLF sequence of two characters. How is transfer of texts with line breaks handled when using the SMTP, FTP and HTTP standards.
In SMTP, all line breaks must be sent as CRLF, CR or LF alone may not be used to indicate a line break (2).
In HTTP, all three kinds of line breaks can be sent on the line, and the receiving end will usually convert line breaks to the convention on the receiving platform (2).
In FTP, files can be transferred in either binary or text mode. In binary mode, line breaks are passed as they are, and neither sender nor recipient will convert to the format suitable on the receiving platform (1). In text mode, line breaks are always sent as CRLF (1).
List of exam questions