Change of file size/content during transfer is typical result of using text transfer mode. With the mode, character sequence used to delimit lines in text file is changed. On Windows, the sequence has two bytes, while one byte only on Unix. Hence the change of file size.
With default configuration, WinSCP automatically selects transfer mode based on file extension.
Site design by Black Gate