Continue with previous topics, but this time to retrieve automatically files from remotes servers to your local computer
Put the following config to your Windows task scheduler:
C:\temp\WinSCP.exe /log=C:\temp\winscp.log /command "open sftp://username:password@FQDN -hostkey=*" "get -neweronly -preservetime /yourpathtofiles/* C:\temp\download\" "exit" /synchronize /keepuptodate /console
Set with the following config to make sure even you locked your computer, this task is running the scheduled task in the back scene.
Adding the pics for task scheduler settings here…