Script
IP Address: x.x.x.x
Username: username
Password: password
Remote Directory: /backup/dumps/*
Local Windows Directory: D:\Backup\*
Batch file:
"C:\Program Files (x86)\WinSCP\WinSCP.com" username:password@x.x.x.x /command "get /backup/dumps/* D:\Backup\*" exit