我正在尝试使用php API从我们的nextcloud服务器访问所有用户的文件和文件夹,但找不到任何解决方案
<?php
$handle = curl_init();
$url = "http://3.17.189.167/remote.php/dav/files/atul123/";
// Set the url
curl_setopt($handle, CURLOPT_URL, $url);
// Set the result output to be a string.
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "PROPFIND" );
curl_setopt($handle, CURLOPT_RETURNTRANSFER, true);
$output = curl_exec($handle);
curl_close($handle);
echo $output;
?>
需要查看从http://3.17.189.167到我的php文件的所有文件和文件夹