简体   繁体   English

WebDAV:是否可以仅使用 PropFind 检索文件夹?

[英]WebDAV : Is it possible to only retrieve folders using PropFind?

In WebDAV, is it possible to only retrieve folders using PropFind ?在 WebDAV 中,是否可以仅使用 PropFind 检索文件夹?

The reason I ask is that looping recursive to all the folders and files on the server takes a lot of time because some folders contain a lot of files.我问的原因是循环递归到服务器上的所有文件夹和文件需要很多时间,因为某些文件夹包含很多文件。

Is there a way to only retrieve the folder names ?有没有办法只检索文件夹名称?

No, there is no such thing in base WebDAV.不,基本 WebDAV 中没有这样的东西。

If the server supports WebDAV SEARCH (RFC 5323), the answer is different (but ot's not widely implemented).如果服务器支持 WebDAV SEARCH (RFC 5323),答案就不同了(但没有被广泛实现)。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM