AtrrFlags Enumeration
[C/C++]
enum FlowSshC_AttrFlags
{
FlowSshC_AttrFlags_Size = 0x001,
FlowSshC_AttrFlags_UidGid = 0x002, // SFTPv3-
FlowSshC_AttrFlags_Permissions = 0x004,
// SFTPv4+
FlowSshC_AttrFlags_AccessTime = 0x008, // Available in SFTPv3- together with ModifyTime
FlowSshC_AttrFlags_CreateTime = 0x010,
FlowSshC_AttrFlags_ModifyTime = 0x020, // Available in SFTPv3- together with AccessTime
FlowSshC_AttrFlags_OwnerGroup = 0x080,
FlowSshC_AttrFlags_Subseconds = 0x0100,
// SFTPv6+
FlowSshC_AttrFlags_AllocSize = 0x400,
FlowSshC_AttrFlags_TextHint = 0x800
};
[C#]
public enum AttrFlags
{
Size = 1,
UidGid = 2,
Permissions = 4, // SFTPv3-
// SFTPv4+
AccessTime = 8, // Available in SFTPv3- together with ModifyTime
CreateTime = 16,
ModifyTime = 32, // Available in SFTPv3- together with AccessTime
OwnerGroup = 128,
Subseconds = 256,
// SFTPv6+
AllocSize = 1024,
TextHint = 2048,
}
Members
- Size: Is [FileAttrs]Size present?
- UidGid: Are [FileAttrs]Uid and [FileAttrs]Gid present?
- Permissions: Is [FileAttrs]Permissions present?
- AccessTime: Is [FileAttrs]AccessTime present?
- CreateTime: Is [FileAttrs]CreateTime present?
- ModifyTime: Is [FileAttrs]ModifyTime present?
- OwnerGroup: Are [FileAttrs]Owner and [FileAttrs]Group present?
- Subseconds:
[C/C++] Are [FileAttrs]m_accessTimeNs, [FileAttrs]m_createTimeNs, and [FileAttrs]m_modifyTimeNs present?
[.NET] Do the [FileAttrs]AccessTime, [FileAttrs]CreateTime, and [FileAttrs]ModifyTime members contain subseconds? - AllocSize: Is [FileAttrs]AllocSize present?
- TextHint: Is [FileAttrs]TextHint present?
Remarks
A bitflag enumeration used with the FileAttrs structure/class to define which of its members are present.