Subversion Repositories oidplus

Rev

Go to most recent revision | Blame | Last modification | View Log | RSS feed

  1. <?php
  2.  
  3. namespace phpseclib3\Net\SFTP;
  4.  
  5. /**
  6.  * http://tools.ietf.org/html/draft-ietf-secsh-filexfer-04#section-5.2
  7.  * see \phpseclib3\Net\SFTP::_parseLongname() for an explanation
  8.  *
  9.  * @internal
  10.  */
  11. abstract class FileType
  12. {
  13.     const REGULAR = 1;
  14.     const DIRECTORY = 2;
  15.     const SYMLINK = 3;
  16.     const SPECIAL = 4;
  17.     const UNKNOWN = 5;
  18.     // the following types were first defined for use in SFTPv5+
  19.     // http://tools.ietf.org/html/draft-ietf-secsh-filexfer-05#section-5.2
  20.     const SOCKET = 6;
  21.     const CHAR_DEVICE = 7;
  22.     const BLOCK_DEVICE = 8;
  23.     const FIFO = 9;
  24. }
  25.