WinSCP changing encoding of files
I am pulling files from my Ubuntu system to my Windows machine and it would appears that the files are being modified by WinSCP. It would appear that either the content or the line end (I suspect the latter) is being changed. For example, when you do a diff of the original and the transmitted file, the text content is the same, but all lines are flagged up as changed.
Is there any way to turn this behavior off so that the file is copied over intact? I've tried changing the end of line option to LF and turning off UTF-8 encoding (they already are UTF-8), and even changing the protocol to SCP as it does not support encoding, but this made no difference.
I was finally able to get around the problem by copying the file using SCP in Cygwin.
Is there any way to turn this behavior off so that the file is copied over intact? I've tried changing the end of line option to LF and turning off UTF-8 encoding (they already are UTF-8), and even changing the protocol to SCP as it does not support encoding, but this made no difference.
I was finally able to get around the problem by copying the file using SCP in Cygwin.