mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-12-25 11:20:03 +00:00
Merge branch '3.0'
This commit is contained in:
commit
487bfa28e2
@ -2721,6 +2721,8 @@ class SFTP extends SSH2
|
|||||||
*/
|
*/
|
||||||
protected function parseAttributes(string &$response): array
|
protected function parseAttributes(string &$response): array
|
||||||
{
|
{
|
||||||
|
$attr = [];
|
||||||
|
|
||||||
if ($this->version >= 4) {
|
if ($this->version >= 4) {
|
||||||
[$flags, $attr['type']] = Strings::unpackSSH2('NC', $response);
|
[$flags, $attr['type']] = Strings::unpackSSH2('NC', $response);
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user