diff --git a/phpseclib/Net/SFTP/Stream.php b/phpseclib/Net/SFTP/Stream.php index c53bddc4..01ebee8c 100644 --- a/phpseclib/Net/SFTP/Stream.php +++ b/phpseclib/Net/SFTP/Stream.php @@ -37,8 +37,8 @@ /** * Include Net_SSH2 */ -if (!class_exists('Net_SSH2')) { - require_once('../Net/SSH2.php'); +if (!class_exists('Net_SFTP')) { + require_once('Net/SFTP.php'); } /**