Topic "UNIX and DOS line termination"

Author Message
Kevin Short

Guest


When I transfer a DOS text file (CR/LF line termination) from a UNIX system to a Windows system, WinSCP converts the line termination to CR/CR/LF.

(It throws in an extra CR for every line.)

How can I tell WinSCP not to do this?
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
What version of WinSCP are you using? And what protocol (for SFTP i need also version of the protocol)? Please let me know!

I've hoped I have solved this in WinSCP 3.5 (the latest version):
Quote:
Version 3.5 (#204) January 14st 2004:
- ...
- File having CR/LF line endings already is not converted, when converting line endings from LF to CR/LF.

Anyway, to avoid this, force binary mode transfer.
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