Line breaks breaking - at least on 4.1 an 4.0.7

Advertisement

zYn
Guest

Line breaks breaking - at least on 4.1 an 4.0.7

WinSCP breaks the line break while uploading using FTP.
Unix line break (\n) gets converted to (\r\n) on upload.

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
40,476
Location:
Prague, Czechia

Re: Line breaks breaking - at least on 4.1 an 4.0.7

Can you provide me a file you are having problems with?
Also what EOL characters have you configured on Environment tab of login dialog?

Reply with quote

martin
Site Admin
martin avatar

Re: Line breaks breaking - at least on 4.1 an 4.0.7

Only now I have noticed that you refer to FTP protocol.
With FTP protocol in text/ascii mode, on upload, the client must convert the text file to CRLF format. The server then must convert the received file to its own format. It is possible that your server fails to do so.

Reply with quote

Advertisement

You can post new topics in this forum