edtFTPnet/PRO - Secure FTP component for .NET | Free Trial | Pricing

SSHFTPClientUMask Property

Set and get the umask, the file creation mode mask that is applied to the default permissions to create the final permission set.

Definition

Namespace: EnterpriseDT.Net.Ftp.Ssh
Assembly: edtFTPnetPRO (in edtFTPnetPRO.dll) Version: 12.7.0.0
C#
public string UMask { get; set; }

Property Value

String

Remarks

The umask and the DefaultPermissions are specified in octal. The permission set of a new file is specified by taking the default permissions in octal, and subtracting the umask.

For example, if the DefaultPermissions are 777 and the umask is set to 022, the final create permissions will be 755 (777-022).

See Also