I am calling WinSCP via command line but I can't figure out how to set passive mode properly to the script.
Here is the script now:
option batch on
option confirm off
open ftp://user_and_pass_details:21
cd /out/
option transfer binary
put C:\afile.text
close
exit