Re: Change Owner of a directory by script
There's no script command for that. But you may try to execute corresponding command using "call" script command:
https://winscp.net/eng/docs/scriptcommand_call
https://winscp.net/eng/docs/scriptcommand_call