WinSCP and Notepad++ Line Breaks
My PHP looks like this in Notepad, Notepad++, whatever text editor you want:
Line 1 Line 2 Line 3 ...
Line 1 Line 2 Line 3 ...
Advertisement
Line 1 Line 2 Line 3 ...
Line 1 Line 2 Line 3 ...
Advertisement
Advertisement
What protocol are you using? There has been change to handling of ascii transfers in 4.1.1 with FTP protocol. If you are connecting to Windows server, make sure you set Window EOL characters on Environment tab.In version 4.0.0 the data transferred OK between 2 x Win32 PC's, with both the source Text File and the Destination Text file being the same size.
Using both 4.1.5 and 4.1.6 I end up with a different size Text file at the destination and have found that every CR+LF has been changed to CR+CR+LF.
\r\n
in first line, and \n
in the second and click "Replace all" and SAVE.
Advertisement
Advertisement
You can post new topics in this forum