mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-06-09 03:42:34 +00:00
Merge branch '1.0' into 2.0
This commit is contained in:
commit
411d09cb7a
|
@ -2385,7 +2385,11 @@ class SFTP extends SSH2
|
|||
if ($local_start >= 0) {
|
||||
fseek($fp, $local_start);
|
||||
$size-= $local_start;
|
||||
} elseif ($mode & NET_SFTP_RESUME) {
|
||||
fseek($fp, $offset);
|
||||
$size-= $offset;
|
||||
}
|
||||
|
||||
} elseif ($dataCallback) {
|
||||
$size = 0;
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue
Block a user