mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-12-27 19:54:57 +00:00
Merge branch '2.0' into 3.0
This commit is contained in:
commit
9341e090c5
@ -2199,6 +2199,9 @@ class SFTP extends SSH2
|
|||||||
if ($local_start >= 0) {
|
if ($local_start >= 0) {
|
||||||
fseek($fp, $local_start);
|
fseek($fp, $local_start);
|
||||||
$size -= $local_start;
|
$size -= $local_start;
|
||||||
|
} elseif ($mode & self::RESUME) {
|
||||||
|
fseek($fp, $offset);
|
||||||
|
$size -= $offset;
|
||||||
}
|
}
|
||||||
} elseif ($dataCallback) {
|
} elseif ($dataCallback) {
|
||||||
$size = 0;
|
$size = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user