mirror of
https://github.com/danog/phpseclib.git
synced 2024-12-04 18:48:24 +01:00
SFTP: update for 2.0 code
This commit is contained in:
parent
1d1d3a4403
commit
413dcb6082
@ -3618,7 +3618,7 @@ class SFTP extends SSH2
|
|||||||
while ($tempLength > 0) {
|
while ($tempLength > 0) {
|
||||||
$temp = $this->_get_channel_packet(self::CHANNEL, true);
|
$temp = $this->_get_channel_packet(self::CHANNEL, true);
|
||||||
if (is_bool($temp)) {
|
if (is_bool($temp)) {
|
||||||
if ($temp && $this->channel_status[NET_SFTP_CHANNEL] === NET_SSH2_MSG_CHANNEL_CLOSE) {
|
if ($temp && $this->channel_status[self::CHANNEL] === NET_SSH2_MSG_CHANNEL_CLOSE) {
|
||||||
$this->channel_close = true;
|
$this->channel_close = true;
|
||||||
}
|
}
|
||||||
$this->packet_type = false;
|
$this->packet_type = false;
|
||||||
|
Loading…
Reference in New Issue
Block a user