.htaccess
1 year ago
Attribute.php
1 year ago
FileType.php
1 year ago
OpenFlag.php
1 year ago
OpenFlag5.php
1 year ago
PacketType.php
1 year ago
StatusCode.php
1 year ago
Stream.php
1 year ago
index.html
1 year ago
web.config
1 year ago
StatusCode.php
49 lines
| 1 | <?php |
| 2 | |
| 3 | declare(strict_types=1); |
| 4 | |
| 5 | namespace phpseclib3\Net\SFTP; |
| 6 | |
| 7 | use phpseclib3\Common\ConstantUtilityTrait; |
| 8 | |
| 9 | /** |
| 10 | * @internal |
| 11 | */ |
| 12 | abstract class StatusCode |
| 13 | { |
| 14 | use ConstantUtilityTrait; |
| 15 | |
| 16 | public const OK = 0; |
| 17 | public const EOF = 1; |
| 18 | public const NO_SUCH_FILE = 2; |
| 19 | public const PERMISSION_DENIED = 3; |
| 20 | public const FAILURE = 4; |
| 21 | public const BAD_MESSAGE = 5; |
| 22 | public const NO_CONNECTION = 6; |
| 23 | public const CONNECTION_LOST = 7; |
| 24 | public const OP_UNSUPPORTED = 8; |
| 25 | public const INVALID_HANDLE = 9; |
| 26 | public const NO_SUCH_PATH = 10; |
| 27 | public const FILE_ALREADY_EXISTS = 11; |
| 28 | public const WRITE_PROTECT = 12; |
| 29 | public const NO_MEDIA = 13; |
| 30 | public const NO_SPACE_ON_FILESYSTEM = 14; |
| 31 | public const QUOTA_EXCEEDED = 15; |
| 32 | public const UNKNOWN_PRINCIPAL = 16; |
| 33 | public const LOCK_CONFLICT = 17; |
| 34 | public const DIR_NOT_EMPTY = 18; |
| 35 | public const NOT_A_DIRECTORY = 19; |
| 36 | public const INVALID_FILENAME = 20; |
| 37 | public const LINK_LOOP = 21; |
| 38 | public const CANNOT_DELETE = 22; |
| 39 | public const INVALID_PARAMETER = 23; |
| 40 | public const FILE_IS_A_DIRECTORY = 24; |
| 41 | public const BYTE_RANGE_LOCK_CONFLICT = 25; |
| 42 | public const BYTE_RANGE_LOCK_REFUSED = 26; |
| 43 | public const DELETE_PENDING = 27; |
| 44 | public const FILE_CORRUPT = 28; |
| 45 | public const OWNER_INVALID = 29; |
| 46 | public const GROUP_INVALID = 30; |
| 47 | public const NO_MATCHING_BYTE_RANGE_LOCK = 31; |
| 48 | } |
| 49 |