mirror of
https://github.com/danog/phpseclib.git
synced 2024-12-15 02:17:04 +01:00
Merge branch '3.0'
This commit is contained in:
commit
ecafd8612d
@ -2128,7 +2128,7 @@ class SFTP extends SSH2
|
|||||||
$res_offset = $stat['size'];
|
$res_offset = $stat['size'];
|
||||||
} else {
|
} else {
|
||||||
$res_offset = 0;
|
$res_offset = 0;
|
||||||
if ($local_file !== false && !is_callable($local_file) ) {
|
if ($local_file !== false && !is_callable($local_file)) {
|
||||||
$fp = fopen($local_file, 'wb');
|
$fp = fopen($local_file, 'wb');
|
||||||
if (!$fp) {
|
if (!$fp) {
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
Reference in New Issue
Block a user