I've used WinSCP for years to download the files over WebDAV using a WinSCP command file like this:
"C:\Program Files (x86)\WinSCP\WinSCP.exe" /script="DownloadBackup.winscp"
I am now moving to a fully command line driven setup (without the batch files) and do the following now:
"c:\program files (x86)\winscp\winscp.com" /command "open https://user:firstname.lastname@example.org/backup" "get -filemask=*>=24H * -speed=10240 c:\data\backup" "exit"
Are you sure you want to transfer multiple files to a single file 'backup' in a directory 'c:\data'? The files will overwrite one another. If you actually want to transfer all files to a directory 'c:\data\backup', keeping their name, make sure you terminate the path with a slash.
Is it possible to download the files from a remote subfolder into a given local folder using the command line option?