Re: Scripting for downloading Folder & Files from remote server
If you want to download the latest subfolder (and providing there are only subfolders, no files directly in the parent folder), just use the
https://winscp.net/eng/docs/scriptcommand_get#latest
-latest
switch:
https://winscp.net/eng/docs/scriptcommand_get#latest