Re: Require Synchronization for all files except last file
OK, see this example. It does opposite of what you need, so it should be pretty easy to modify it:
https://winscp.net/eng/docs/script_download_most_recent_file
Alternative, and way easier, solution is to filter files smaller than 5 MB:
See https://winscp.net/eng/docs/file_mask
https://winscp.net/eng/docs/script_download_most_recent_file
Alternative, and way easier, solution is to filter files smaller than 5 MB:
synchronize local -filemask="|<5M" "d:\cmdlogs\KKBNGBTPMBS02\"
See https://winscp.net/eng/docs/file_mask