mirror of
https://github.com/phpseclib/phpseclib.git
synced 2025-01-14 10:53:09 +00:00
Merge branch '1.0' into 2.0
This commit is contained in:
commit
a7eb9099f1
@ -1979,7 +1979,7 @@ class SFTP extends SSH2
|
|||||||
|
|
||||||
if (isset($fp)) {
|
if (isset($fp)) {
|
||||||
$stat = fstat($fp);
|
$stat = fstat($fp);
|
||||||
$size = $stat['size'];
|
$size = !empty($stat) ? $stat['size'] : 0;
|
||||||
|
|
||||||
if ($local_start >= 0) {
|
if ($local_start >= 0) {
|
||||||
fseek($fp, $local_start);
|
fseek($fp, $local_start);
|
||||||
|
Loading…
Reference in New Issue
Block a user