... the easiest may be to use scripting engines available in Windows: Windows command interpreter ...
winscp.net