diff --git a/phpseclib/Net/SFTP.php b/phpseclib/Net/SFTP.php index c6ee755d..cbf3e21a 100644 --- a/phpseclib/Net/SFTP.php +++ b/phpseclib/Net/SFTP.php @@ -268,14 +268,7 @@ class Net_SFTP extends Net_SSH2 { { parent::Net_SSH2($host, $port, $timeout); - switch ($this->server_identifier) { - case 'SSH-2.0-ROSSSH': - // PuTTY uses this as the size - $this->max_sftp_packet = 1 << 15; - break; - default: - $this->max_sftp_packet = 1 << 20; - } + $this->max_sftp_packet = 1 << 15; $this->packet_types = array( 1 => 'NET_SFTP_INIT',