<?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之类的单词,那么它将起作用/ p>
有什么想法吗?