Differences
This shows you the differences between the selected revisions of the page.
| library_filepermissions 2012-01-04 | library_filepermissions 2026-11-12 (current) | ||
| Line 1: | Line 1: | ||
| ====== FilePermissions Class ====== | ====== FilePermissions Class ====== | ||
| Represents *nix-style remote file permissions. | Represents *nix-style remote file permissions. | ||
| - | |||
| - | &future_feature | ||
| ===== Syntax ===== | ===== Syntax ===== | ||
| Namespace: ''WinSCP'' | Namespace: ''WinSCP'' | ||
| - | <code csharp> | + | <code csharp *> |
| - | public sealed class FilePermissions | + | public sealed class FilePermissions : IFilePermissions |
| + | </code> | ||
| + | |||
| + | <code vbnet *> | ||
| + | Public NotInheritable Class FilePermissions | ||
| + | Implements IFilePermissions | ||
| </code> | </code> | ||
| Line 18: | Line 21: | ||
| ===== Properties ===== | ===== Properties ===== | ||
| ^ Name ^ Description ^ | ^ Name ^ Description ^ | ||
| - | | bool GroupExecute | Execute permission for group. | | + | | bool ==GroupExecute== | Execute permission for group. | |
| - | | bool GroupWrite | Write permission for group. | | + | | bool ==GroupRead== | Read permission for group. | |
| - | | bool GroupRead | Read permission for group. | | + | | bool ==GroupWrite== | Write permission for group. | |
| - | | int Numeric | Permissions as a number. | | + | | int ==Numeric== | Permissions as a number. | |
| - | | string Octal | Permissions in octal format, e.g. ''"644"''. Octal format has 3 or 4 (when any special permissions are set) digits. | | + | | string ==Octal== | Permissions in octal format, e.g. ''%%"644"%%''. Octal format has 3 or 4 (when any special permissions are set) digits. | |
| - | | bool OtherExecute | Execute permission for others. | | + | | bool ==OtherExecute== | Execute permission for others. | |
| - | | bool OtherWrite | Write permission for others. | | + | | bool ==OtherRead== | Read permission for others. | |
| - | | bool OtherRead | Read permission for others. | | + | | bool ==OtherWrite== | Write permission for others. | |
| - | | bool SetGid | Grants the user, who executes the file, permissions of file group. | | + | | bool ==SetGid== | Grants the user, who executes the file, permissions of file group. | |
| - | | bool SetUid | Grants the user, who executes the file, permissions of file owner. | | + | | bool ==SetUid== | Grants the user, who executes the file, permissions of file owner. | |
| - | | bool Sticky | Sticky bit. | | + | | bool ==Sticky== | Sticky bit. | |
| - | | string Text | Permissions as a text in format ''"rwxrwxrwx"''. | | + | | string ==Text== | Permissions as a text in format ''%%"rwxrwxrwx"%%''. | |
| - | | bool UserExecute | Execute permission for owner. | | + | | bool ==UserExecute== | Execute permission for owner. | |
| - | | bool UserWrite | Write permission for owner. | | + | | bool ==UserRead== | Read permission for owner. | |
| - | | bool UserRead | Read permission for owner. | | + | | bool ==UserWrite== | Write permission for owner. | |
| - | ===== Methods ===== | + | ===== [[methods]] Methods ===== |
| ^ Name ^ Description ^ | ^ Name ^ Description ^ | ||
| | string ToString() | Returns ''Text''. (Overrides ''Object.ToString()''.) | | | string ToString() | Returns ''Text''. (Overrides ''Object.ToString()''.) | | ||
| Line 40: | Line 43: | ||
| ===== Remarks ===== | ===== Remarks ===== | ||
| This class is: | This class is: | ||
| - | * Referenced by ''[[library_chmodeventargs|ChmodEventArgs]].FilePermissions''; | + | * Referenced by ''[[library_chmodeventargs#filepermissions|ChmodEventArgs.FilePermissions]]''; |
| - | * Referenced by ''[[library_remotefileinfo|RemoteFileInfo]].FilePermissions''; | + | * Referenced by ''[[library_remotefileinfo#filepermissions|RemoteFileInfo.FilePermissions]]''; |
| - | * Referenced by ''[[library_transferoptions|TransferOptions]].FilePermissions''. | + | * Referenced by ''[[library_transferoptions#filepermissions|TransferOptions.FilePermissions]]''. |
| - | + | ||
| - | ~~NOTOC~~ | + | |