# Automatically answer all prompts negatively not to stall
# the script on errors
option batch on
# Disable overwrite confirmations that conflict with the previous
option confirm off
# Connect to the session in WinSCP (defines folder locations)
# Force binary mode transfer
option transfer binary
# Upload file with the mask to the remote directory
# Exit WinSCP
This script was previously working fine with this scheduled task, but appears to have stopped working some time in the last 4 weeks. I had a similar task that also stopped working around the same time, however this appeared to be an issue with permissions on a suppliers SFTP server which has now been resolved. I've also double checked that the session name is correct.
Has one of the commands been deprecated or something?