mirror of
https://github.com/phpseclib/phpseclib.git
synced 2025-01-15 03:03:49 +00:00
Merge branch '2.0'
This commit is contained in:
commit
6f22a957c2
@ -1916,7 +1916,7 @@ class SFTP extends SSH2
|
|||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
$temp = isset($fp) ? fread($fp, $sftp_packet_size) : substr($data, $sent, $sftp_packet_size);
|
$temp = isset($fp) ? fread($fp, $sftp_packet_size) : substr($data, $sent, $sftp_packet_size);
|
||||||
if ($temp === false) {
|
if ($temp === false || $temp === '') {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user