edtFTPnet/PRO - Secure FTP component for .NET | Free Trial | Pricing
Click or drag to resize

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.

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

Property Value

Type: 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