I'm using WinSCP 5.0.6 beta under Windows 7 x64 SP1. I call the winscp.com with a scripting file.
What I'm trying to do is to synchronize only specified folders recursively but leave all the others untouched.
Here's a sample file structure
What I need is dir_01 and dir_01\hello_01.txt and dir_02 and dir_02\hello_02.txt to be synchronized, but dir_03 and hello_00.txt excluded.
In my understanding this would be like this:
but this in fact synchronizes dir_01 and dir_02 recursively which is good, but also synchronizes hello_00.txt which I don't want.
I tried this too (amongst many others):
which, as I understand, would exclude all files from the root folder (non-recursive), but this excludes all files. It makes all directories synchronized but no files at all.
Am I doing something wrong?