You can use WinSCP scripting with its synchronize
command:
:Loop
winscp.com /command ^
"option batch abort" ^
"open <session>" ^
"synchronize local <local directory> <remote directory>" ^
"exit"
timeout 10
goto :Loop
On Windows XP and older, use ping -n 10 127.0.0.1
instead of timeout 10
.
See also: