internal static FilePermissions CreateReadOnlyFromText(string text) { FilePermissions result = new FilePermissions(); result.Numeric = TextToNumeric(text); result._readOnly = true; return(result); }
internal static FilePermissions CreateReadOnlyFromText(string text) { FilePermissions result = new FilePermissions(); result.Numeric = TextToNumeric(text); result._readOnly = true; return result; }
public TransferOptions SetupTransferOptions() { var transferOptions = new TransferOptions { TransferMode = TransferMode.Binary }; var permissions = new FilePermissions { Octal = "644" }; transferOptions.FilePermissions = permissions; return transferOptions; }