same issue
WinSCP 5.7.6, was working fine. After reinstalling the system fails to execute scripts with winscp.com. Script looks like:
Any clues?
# Connect to server
echo $>open sftp:// ... -hostkey=*
open sftp:// ... -hostkey=*
echo
# Post a job
echo $>conman "sbd \"ssh %DB_SERVER_NAME% "%OS_KILL_CMD%"\";alias=KILL_%NOW%;streamlogon=oracle"
call conman "sbd \"ssh %DB_SERVER_NAME% "%OS_KILL_CMD%"\";alias=KILL_%NOW%;streamlogon=oracle"
# Let's clean up
close
Exit
Any clues?