Topic "Line breaks breaking - at least on 4.1 an 4.0.7"

Author Message
zYn

Guest


WinSCP breaks the line break while uploading using FTP.
Unix line break (\n) gets converted to (\r\n) on upload.
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24994
Location: Prague, Czechia
Can you provide me a file you are having problems with?
Also what EOL characters have you configured on Environment tab of login dialog?
_________________
Martin Prikryl
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24994
Location: Prague, Czechia
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.
_________________
Martin Prikryl
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24994
Location: Prague, Czechia
This issue has been added to tracker.
_________________
Martin Prikryl
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License