Lines Matching defs:version

6  * PHP version 5
158 * Server SFTP version
163 private $version;
166 * Default Server SFTP version
174 * Preferred SFTP version
632 "If the client wishes to interoperate with servers that support noncontiguous version
635 Given that the server only sends its version number after the client has already done so, the above
636 seems to be suggesting that v3 should be the default version. This makes sense given that v3 is the
641 "If the server did not send the "versions" extension, or the version-from-list was not included, the
647 v4, the "versions" extension is likely not going to have been sent so version re-negotiation as discussed
651 $this->version = $this->defaultVersion;
652 if (isset($this->extensions['versions']) && (!$this->preferredVersion || $this->preferredVersion != $this->version)) {
661 if ($ver === $this->version) {
664 $this->version = (int) $ver;
665 $packet = Strings::packSSH2('ss', 'version-select', "$ver");
696 if ($this->version < 2 || $this->version > 6) {
809 if ($this->version > 2) {
1130 if ($this->version < 4) {
1134 if (!isset($attributes['type']) && $this->version < 4) {
1566 $attr = $this->version < 4 ?
1571 $packet .= $this->version >= 5 ?
1598 * `$sftp->getSupportedVersions()['version']` will return the specific version
1627 $attr = $this->version < 4 ?
1645 * `$sftp->getSupportedVersions()['version']` will return the specific version
1657 $attr = $this->version < 4 ?
1743 $packet .= $this->version >= 4 ?
1811 $packet .= $this->version >= 4 ?
1828 $packet .= $this->version >= 4 ?
1911 if ($this->version == 6) {
2119 if ($this->version >= 5) {
2136 if ($this->version >= 5) {
2146 $packet .= $this->version >= 5 ?
2275 $attr = $this->version < 4 ?
2373 $packet .= $this->version >= 5 ?
2978 if ($this->version >= 5) {
3044 if ($this->version >= 4) {
3053 if ($this->version > 3) {
3062 if ($this->version < 4) {
3067 if ($this->version < 5) {
3077 if ($this->version < 6) {
3097 if ($this->version < 4 && $fileType !== false) {
3102 if ($this->version >= 4) {
3483 $temp = ['version' => $this->defaultVersion];
3501 return $this->version;
3505 * Set preferred version
3507 * If you're preferred version isn't supported then the highest supported
3508 * version of SFTP will be utilized. Set to null or false or int(0) to
3509 * unset the preferred version
3511 * @param int $version
3513 public function setPreferredVersion($version)
3515 $this->preferredVersion = $version;