<?php
include_once("vendor/autoload.php");
$settings = array(
'baseUri' => '<removed>',
'userName' => '<removed>',
'password' => '<removed>'
);
$client = new Sabre\DAV\Client($settings);
$f_name = ' Hazlo ';
$folder_name = '16-843-82 MV ATC_BLHI Hazlo to PPC';
//$response = $client->request('MOVE', $folder_name, '',
//array('Destination' => '/remote.php/webdav/'. $f2));
$response = $client->request('MKCOL', $f_name, null, array());
print_r($response);
?>
我正在尝试在下一个云上使用 MKCOL 创建一个文件夹,但如果文件夹包含某些关键字(如 HAZLO)则会失败,因此如果文件夹名称为 AT HAZLO,它将不起作用,但如果包含 AT MANISH 之类的词,那么它会起作用
有任何想法吗?