Merge branch '3.0'

This commit is contained in:
terrafrost 2023-07-02 11:29:03 -05:00
commit 65693db644

View File

@ -1909,6 +1909,9 @@ class SFTP extends SSH2
if ($local_start >= 0) {
fseek($fp, $local_start);
$size -= $local_start;
} elseif ($mode & self::RESUME) {
fseek($fp, $offset);
$size -= $offset;
}
} elseif ($dataCallback) {
$size = 0;