I'm running WinSCP version 5.7.2 build 5316 on a Windows 7 computer. I'm trying to transfer a file from my pc to a raspberry pi but the file is 0 bytes after the transfer. I use binary mode and text mode to transfer the file but the result is the same. There is no error. The file I'm trying to transfer is python file created at my PC. Am I doing something wrong? Any help will be appreciated.