Merge branch '3.0'

This commit is contained in:
terrafrost 2024-08-15 23:32:40 -05:00
commit 72fbfb77fc

View File

@ -3111,6 +3111,24 @@ class SFTP extends SSH2
return $temp;
}
/**
* Get supported SFTP extensions
*
* @return array
*/
public function getSupportedExtensions()
{
if (!($this->bitmap & SSH2::MASK_LOGIN)) {
return false;
}
if (!$this->partial_init) {
$this->partial_init_sftp_connection();
}
return $this->extensions;
}
/**
* Get supported SFTP versions
*