diff --git a/phpseclib/Net/SFTP.php b/phpseclib/Net/SFTP.php index f414d3e8..15449f5b 100644 --- a/phpseclib/Net/SFTP.php +++ b/phpseclib/Net/SFTP.php @@ -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 *