preferentially use SFTPv3, since that's waaaay more tested than any other version

This commit is contained in:
terrafrost 2021-09-14 09:05:41 -05:00
parent 9ae2b0030d
commit bb17b35d3e
1 changed files with 9 additions and 0 deletions

View File

@ -205,6 +205,15 @@ class Net_SFTP extends Net_SSH2
*/
var $defaultVersion;
/**
* Preferred SFTP version
*
* @var int
* @see self::_initChannel()
* @access private
*/
var $preferredVersion = 3;
/**
* Current working directory
*