Error code 1 Web while trying to run WinSCP script

Hi Milheil and welcome to the Community!

Capture the output to see the error details. See also this topic: How to capture results from external applications - #2 by dgudkov