PluginProbe ʕ •ᴥ•ʔ
JetBackup – Backup, Restore & Migrate / trunk
JetBackup – Backup, Restore & Migrate vtrunk
3.1.22.4 3.1.22.3 1.4.3 1.4.4 1.4.5 1.4.6 1.4.7 1.4.8 1.4.8.1 1.4.9 1.5.0 1.5.1 1.5.1.1 1.5.2 1.5.3 1.5.4 1.5.5 1.5.6 1.5.7 1.5.8 1.6.0 1.6.10 1.6.11 1.6.12 1.6.13 1.6.15 1.6.5.1 1.6.8.8 1.6.9 1.6.9.1 2.0.3 2.0.4 2.0.5 2.0.6 2.0.7.5 2.0.8.7 2.0.9.11 2.0.9.14 2.0.9.15 2.0.9.6 2.0.9.7 2.0.9.9 3.1.10.7 3.1.11.1 3.1.12.3 3.1.13.4 3.1.14.17 3.1.15.4 3.1.16.1 3.1.17.5 3.1.18.10 3.1.18.8 3.1.18.9 3.1.19.8 3.1.20.3 3.1.21.3 3.1.7.9 3.1.9.2 trunk 1.1.90 1.1.91 1.2.0 1.2.5 1.2.6 1.2.7 1.2.8 1.2.9 1.3.0 1.3.1 1.3.2 1.3.3 1.3.4 1.3.6 1.3.7 1.3.8 1.3.9 1.4.0 1.4.1 1.4.2
backup / src / JetBackup / 3rdparty / phpseclib3 / Net / SFTP / OpenFlag5.php
backup / src / JetBackup / 3rdparty / phpseclib3 / Net / SFTP Last commit date
.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
OpenFlag5.php
35 lines
1 <?php
2
3 declare(strict_types=1);
4
5 namespace phpseclib3\Net\SFTP;
6
7 /**
8 * SFTPv5+ changed the flags up: https://datatracker.ietf.org/doc/html/draft-ietf-secsh-filexfer-13#section-8.1.1.3
9 *
10 * @internal
11 */
12 abstract class OpenFlag5
13 {
14 // when SSH_FXF_ACCESS_DISPOSITION is a 3 bit field that controls how the file is opened
15 public const CREATE_NEW = 0x00000000;
16 public const CREATE_TRUNCATE = 0x00000001;
17 public const OPEN_EXISTING = 0x00000002;
18 public const OPEN_OR_CREATE = 0x00000003;
19 public const TRUNCATE_EXISTING = 0x00000004;
20 // the rest of the flags are not supported
21 public const APPEND_DATA = 0x00000008; // "the offset field of SS_FXP_WRITE requests is ignored"
22 public const APPEND_DATA_ATOMIC = 0x00000010;
23 public const TEXT_MODE = 0x00000020;
24 public const BLOCK_READ = 0x00000040;
25 public const BLOCK_WRITE = 0x00000080;
26 public const BLOCK_DELETE = 0x00000100;
27 public const BLOCK_ADVISORY = 0x00000200;
28 public const NOFOLLOW = 0x00000400;
29 public const DELETE_ON_CLOSE = 0x00000800;
30 public const ACCESS_AUDIT_ALARM_INFO = 0x00001000;
31 public const ACCESS_BACKUP = 0x00002000;
32 public const BACKUP_STREAM = 0x00004000;
33 public const OVERRIDE_OWNER = 0x00008000;
34 }
35