how can I synchronize some subfolders from remote to local with commandline options in a batch file?
For example I have some files in remote root directory and two subfolders (pictures and intern) and I want to download the files index.html, 1.html, 2.html etc. to my local drive c:\Backup\index.html, 1.html, 2.html etc
and the subfolders with files to my local drive c:\Backup\pictures\1.jpg, 2.jpg etc. and c:\Backup\intern\1.txt, 2.txt.
WinSCP copy all files from root directory and from the subfolders to c:\Backup.
No Subfolder c:\backup\pictures
How can I copy the files to the subfolders?