|
|
|
@ -216,7 +216,9 @@ class File extends Node implements IFile {
|
|
|
|
try {
|
|
|
|
try {
|
|
|
|
/** @var IWriteStreamStorage $partStorage */
|
|
|
|
/** @var IWriteStreamStorage $partStorage */
|
|
|
|
$count = $partStorage->writeStream($internalPartPath, $wrappedData);
|
|
|
|
$count = $partStorage->writeStream($internalPartPath, $wrappedData);
|
|
|
|
} catch (GenericFileException) {
|
|
|
|
} catch (GenericFileException $e) {
|
|
|
|
|
|
|
|
$logger = Server::get(LoggerInterface::class);
|
|
|
|
|
|
|
|
$logger->error('Error while writing stream to storage: ' . $e->getMessage(), ['exception' => $e, 'app' => 'webdav']);
|
|
|
|
$result = $isEOF;
|
|
|
|
$result = $isEOF;
|
|
|
|
if (is_resource($wrappedData)) {
|
|
|
|
if (is_resource($wrappedData)) {
|
|
|
|
$result = feof($wrappedData);
|
|
|
|
$result = feof($wrappedData);
|
|
|
|
|