Re: how to put the check trigger for file transfer success result
I'm not sure I understand your post.
WinSCP script aborts on any error by default.
See also https://winscp.net/eng/docs/scripting#using_scripting
WinSCP script aborts on any error by default.
See also https://winscp.net/eng/docs/scripting#using_scripting