Re: Script Failed of WinSCP
As documented:
See https://winscp.net/eng/docs/scriptcommand_call
It is an error, if the command has any error output, but no standard output. To circumvent that redirect the error output tonul
(2>/dev/null
) or to the standard output (2>&1
).
See https://winscp.net/eng/docs/scriptcommand_call