Unit
ScSFTPUtils
type
TScSFTPFileOpenAttributes = record
Mode: TScSFTPFileOpenMode;
Flags: TScSFTPFileOpenFlags;
BlockModes: TScSFTPBlockModes;
DesiredAccess: TScSFTPDesiredAccess;
Attributes: TScSFTPFileAttributes;
end;
Description
The TScSFTPFileOpenAttributes record represents attributes for the file opening.
| Fields | Description |
| Mode | the mode of the file opening (refer to TScSFTPFileOpenMode). |
| Flags | the set of flags for the file opening (refer to TScSFTPFileOpenFlags). |
| BlockModes | the blocking mode of the file that is being opened (refer to TScSFTPBlockModes). |
| DesiredAccess | the rights for the file access that are a combination of values of the ace-mask flags (refer to TScSFTPDesiredAccess). If the server cannot grant the access desired, it returns the SSH_FX_PERMISSION_DENIED error. |
| Attributes | specifies the initial attributes for the file (refer to TScSFTPFileAttributes). |
See also