Back to FlowSsh Documentation

FileType Enumeration

[C/C++]

struct FlowSshC_FileType { enum {
  Regular     = 1,
  Directory   = 2,
  Symlink     = 3,
  Special     = 4,
  Unknown     = 5,
  // SFTPv6+
  Socket      = 6,
  CharDevice  = 7,
  BlockDevice = 8,
  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.