1
0
mirror of https://github.com/danog/phpseclib.git synced 2024-12-04 18:48:24 +01:00

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

View File

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