Re: recursive chmod of files with the same extension
There's no easy way to do this with WinSCP (nor any other tool I know).
It's easy to recursively iterate the tree finding files matching a mask using WinSCP .NET assembly from PowerShell script.
See for example https://winscp.net/eng/docs/library_example_recursive_search_text
But WinSCP .NET assembly does not support changing permissions, only scripting interface does.
But you can use the .NET assembly to search for the files and make it generate
It's easy to recursively iterate the tree finding files matching a mask using WinSCP .NET assembly from PowerShell script.
See for example https://winscp.net/eng/docs/library_example_recursive_search_text
But WinSCP .NET assembly does not support changing permissions, only scripting interface does.
But you can use the .NET assembly to search for the files and make it generate
chmod
scripting command for each matching file. And then execute the script.