Topic "Set permissions for new directory via .NET / COM"

Author Message
[View user's profile]

Joined: 2013-10-30
Posts: 3
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 Smile)
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 26911
Location: Prague, Czechia
Thanks for your post.

This request has been added to the tracker:
Martin Prikryl

You can post new topics in this forum


What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!


About donations

$9   $19   $49   $99

About donations


WinSCP Privacy Policy

WinSCP License