Binary transfer not working when remotely editing
This seems like a bug.
I have a SCP session (from Windows host to Linux server) with Binary transfer mode.
The transfers work as expected, (my text files are copied from Linux to my Windows with UNIX newlines).
But when I try to remotely edit a remote file, the file is always opened with DOS newlines, as if were
transfered in Text mode. I can verify that by peeking into the temporary file in (say)
This happens no matter what is the selected editor (internal or external). It happens with SCP and SFTP.
I'm using WINSCP 5.1.8 (Build 3799), Win-7 64bits.
I have a SCP session (from Windows host to Linux server) with Binary transfer mode.
The transfers work as expected, (my text files are copied from Linux to my Windows with UNIX newlines).
But when I try to remotely edit a remote file, the file is always opened with DOS newlines, as if were
transfered in Text mode. I can verify that by peeking into the temporary file in (say)
...\AppData\Local\Temp\scp46680\...\myfile.c
This happens no matter what is the selected editor (internal or external). It happens with SCP and SFTP.
I'm using WINSCP 5.1.8 (Build 3799), Win-7 64bits.