Also, there seems to be an error everytime I have a batch file called automatically to run the Winscp script. It works great manually, only when using task scheduler do I get issues. Error code 3.
It might be this problem:
https://winscp.net/tracker/996
Make sure you are using the latest version of WinSCP (and restart your server after upgrade).