For example. The program file compare "WinMerge" and editor of PHP "PHP Expert Editor". I repeated the procedure for opening a file by dragging around 10-15 times in each of them (the error is not always). Result in a screenshot is attached.
Version of WinSCP: 5.0.6
OS: WinXP SP 3