Re: download only new file from remote director
Use
https://winscp.net/eng/docs/scriptcommand_get#neweronly
Or even better, have WinSCP generate the code for you:
https://winscp.net/eng/docs/guide_automation#generating
-neweronly
:
https://winscp.net/eng/docs/scriptcommand_get#neweronly
Or even better, have WinSCP generate the code for you:
https://winscp.net/eng/docs/guide_automation#generating