Re: consolidate or discard folders
You cannot do this using simple scripting.
But this could be easy using WinSCP .NET assembly.
This example shows how to recurse:
https://winscp.net/eng/docs/library_example_recursive_search_text
It actually even downloads all the files the one folder (temp folder in this case). So it just needs few tweeks to do what you need.
But this could be easy using WinSCP .NET assembly.
This example shows how to recurse:
https://winscp.net/eng/docs/library_example_recursive_search_text
It actually even downloads all the files the one folder (temp folder in this case). So it just needs few tweeks to do what you need.