Set permissions for new directory via .NET / COM
When using
the permissions can't be set like with transferoptions for files.
The mkdir-command in linux accepts this to be set (eg. "mkdir -m 770 path"), but CreateDirectory doesn't accepts options.
I can't work with 'ExecuteCommand("chmod 770 path") as the server at the other side doesn't allow commands to be set.
So if it would be possible to set directory-permission while creating, this would be a good improvement (at least for me :))
session.CreateDirectory(path)
The mkdir-command in linux accepts this to be set (eg. "mkdir -m 770 path"), but CreateDirectory doesn't accepts options.
I can't work with 'ExecuteCommand("chmod 770 path") as the server at the other side doesn't allow commands to be set.
So if it would be possible to set directory-permission while creating, this would be a good improvement (at least for me :))