Re: Editing Python script does not save proper indentation
I cannot imagine this being WinSCP issue.
Make sure you do not have text transfer mode set in WinSCP. Even if you have, it should not cause any problems. But with the binary mode, WinSCP does not modify the uploaded file in any way, ever.
Double check your editors configuration. Check contents of the temporary copy of the file saved by your editor.
Some of the hints here may help:
https://winscp.net/eng/docs/faq_line_breaks#debugging
Make sure you do not have text transfer mode set in WinSCP. Even if you have, it should not cause any problems. But with the binary mode, WinSCP does not modify the uploaded file in any way, ever.
Double check your editors configuration. Check contents of the temporary copy of the file saved by your editor.
Some of the hints here may help:
https://winscp.net/eng/docs/faq_line_breaks#debugging