Back to FlowSsh Documentation

AtrrFlags Enumeration

[C/C++]

struct FlowSshC_AttrFlags { enum {
  Size        = 0x001,
  UidGid      = 0x002,  // SFTPv3-
  Permissions = 0x004,
  // SFTPv4+
  AccessTime  = 0x008,  // Available in SFTPv3- together with ModifyTime
  CreateTime  = 0x010,
  ModifyTime  = 0x020,  // Available in SFTPv3- together with AccessTime
  OwnerGroup  = 0x080,
  Subseconds  = 0x0100,
  // SFTPv6+
  AllocSize   = 0x400,
  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/Cpp] 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.