From eeabad1ed3cdf91302cd01ec3a4bcf6059e77ffa Mon Sep 17 00:00:00 2001 From: terrafrost Date: Tue, 23 Feb 2021 05:14:25 -0600 Subject: [PATCH] SFTP: mkdir on streams didn't work --- phpseclib/Net/SFTP/Stream.php | 2 +- phpseclib/Net/SSH2.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/phpseclib/Net/SFTP/Stream.php b/phpseclib/Net/SFTP/Stream.php index 1eda2ec3..6caf78c4 100644 --- a/phpseclib/Net/SFTP/Stream.php +++ b/phpseclib/Net/SFTP/Stream.php @@ -28,7 +28,7 @@ use phpseclib3\Net\SSH2; * @author Jim Wigginton * @access public */ -class Stream extends SFTP +class Stream { /** * SFTP instances diff --git a/phpseclib/Net/SSH2.php b/phpseclib/Net/SSH2.php index 8ad3dcc3..dd06c0c8 100644 --- a/phpseclib/Net/SSH2.php +++ b/phpseclib/Net/SSH2.php @@ -185,7 +185,7 @@ class SSH2 * @var object * @access private */ - protected $fsock; + public $fsock; /** * Execution Bitmap