mirror of
https://github.com/danog/phpseclib.git
synced 2024-12-03 10:08:04 +01:00
preferentially use SFTPv3, since that's waaaay more tested than any other version
This commit is contained in:
parent
9ae2b0030d
commit
bb17b35d3e
@ -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
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user