Whether using ASCII transfer mode in FTP while transferring files from one linux based system to other linux based system changes LF to CRLF
Asked
Active
Viewed 399 times
-2
-
Right, that's exactly how it works as documented in the [RFC](https://www.ietf.org/rfc/rfc959.txt). `End-of-Line: The end-of-line sequence defines the separation of printing lines. The sequence is Carriage Return, followed by Line Feed.` Did you have a question? – Aug 26 '14 at 23:46
-
That conversion from LF to CRLF is not happening and my questions is what would be the root cause of it. – venkat Aug 27 '14 at 17:10
1 Answers
0
I believe that a ASCII based transfer will allow the receiver of the files to dictate what the line terminator character(s) is when storing the file. Thus a transfer from linux->linux should leave line terminators the same....BUT a transfer from linux-->Windows will translate a \n to a \r\n terminator.
![](../../users/profiles/1592.webp)
mdpc
- 11,698
- 28
- 51
- 65