public function stream_stat()
{
$statistics = $this->fileStatisticsTemplate();
if ($this->download !== null) {
$statistics[7] = $statistics['size'] = $this->download->getSize();
}
if ($this->upload !== null) {
$statistics[7] = $statistics['size'] = $this->pointerOffset;
}
return $statistics;
}