Topic "Line ending"

Author Message
agough

Guest


When using the internal editor in winscp it screws up my file line endings. i have dos files on my linux server. when I edit them through winscp it seem to chenage the line endings, which is a problem for some of the processing am doing on the files. Is there any way to preeve the line endings? I haven't stuck a file into a hex editoryet to see hat it does but I assume it is either stripping the \r or the \n when I vi the file it showsa file format of [noeol] a :set ff=dos fixes the problem.

Anyone got any ideas?
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24994
Location: Prague, Czechia
Either use external editor (and force binary transfer mode) or configure DOS line endings on Environment tab of Login dialog.
_________________
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