[SFTP Only] The file creation mode mask that is applied to the default permissions to create the final permission set.

Namespace: EnterpriseDT.Net.Ftp
Assembly: edtFTPnetPRO (in edtFTPnetPRO.dll) Version: 9.4.0.40

Syntax

C#
public string UMask { get; set; }
Visual Basic
Public Property UMask As String
	Get
	Set
Visual C++
public:
property String^ UMask {
	String^ get ();
	void set (String^ value);
}

Remarks

This property applies to SFTP only. Use the Protocol property to select the protocol.

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