FileType Enumeration

[C/C++]

enum FlowSshC_FileType
{
  FlowSshC_FileType_Regular     = 1,
  FlowSshC_FileType_Directory   = 2,
  FlowSshC_FileType_Symlink     = 3,
  FlowSshC_FileType_Special     = 4,
  FlowSshC_FileType_Unknown     = 5,
  // SFTPv6+
  FlowSshC_FileType_Socket      = 6,
  FlowSshC_FileType_CharDevice  = 7,
  FlowSshC_FileType_BlockDevice = 8,
  FlowSshC_FileType_Fifo        = 9
};

[C#]

public enum FileType
{
  Regular     = 1,
  Directory   = 2,
  Symlink     = 3,
  Special     = 4,
  Unknown     = 5,
  // SFTPv6+
  Socket      = 6,
  CharDevice  = 7,
  BlockDevice = 8,
  Fifo        = 9
}

Remarks

An enumeration used with the FileAttrs structure/class to define the current file type.