Теперь я получаю эту ошибку
Код: Выделить всё
Sabre\DAV\Exception\BadRequest
Incompatible node types
Код: Выделить всё
$sourcePath = $tempFolder . '/.file';
$destinationPath = $baseUri . $uploadedFolderName . $uploadedFileName;
var_dump($destinationPath);
// "/remote.php/dav/files/wedos-auth-7518fe8d-0f5f-4c87-99a2-xxx/uploaded/deprese.pdf"
var_dump($sourcePath);
// "/remote.php/dav/uploads/wedos-auth-7518fe8d-0f5f-4c87-99a2-xxx/chunks_674d6d3f46a9f/.file"
// Send the MOVE request
$response = $client->request('MOVE', $tempFolder, null, [
'Destination' => $destinationPath,
'OC-Total-Length' => $fileSize
]);
[*]Я могу создать временный каталог
[*]Я могу загружать фрагменты
- если я загружаю в .../files/... я их вижу.
- если я загружу в .../upload/... я их не увижу, но скажу, что они были загружены. Ошибки не произошло
Подробнее здесь: https://stackoverflow.com/questions/792 ... via-webdav