简体   繁体   English

在使用node.js开发自定义WebDav客户端时需要帮助

[英]Need help in developing a custom WebDav client using node.js

I am developing an open source application which should mount webdav share to local drive letter just like NETDRIVE and WEBDRIVE using node.js and electron-js, so in my application at present I am downloading all files from webdav share which takes a lot of time and not reliable for heavy data. 我正在开发一个开源应用程序,该应用程序应该将webdav共享安装到本地驱动器号上,就像使用node.js和electron-js的NETDRIVE和WEBDRIVE一样,因此目前在我的应用程序中,我要从webdav共享下载所有文件,这需要很多时间对于大量数据也不可靠。 Is there any other approach so that whenever user access a file, only that particular file should be fetched from webdav share, I've tried to display files meta data(dummy) structure in directory and kept that directory under file-watcher. 还有其他方法可以使每当用户访问文件时,仅应从webdav共享中提取该特定文件。我试图在目录中显示文件元数据(虚拟)结构,并将该目录保留在file-watcher下。 So that when user tries to open a file then watcher should capture file open event to get which file was user trying to access, so that in background of application a service will triggered to fetch that particular file using file-path as reference, but none of them are unable to capture file open event. 这样,当用户尝试打开文件时,观察者应捕获文件打开事件以获取用户尝试访问的文件,以便在应用程序后台,服务将触发以文件路径为参考来获取该特定文件。他们中的无法捕获文件打开事件。 Is there any other approach to do so, correct me if I am in wrong direction. 还有其他方法可以解决此问题,如果我的方向错误,请纠正我。

Thank's 谢谢

I think you want virtual file-system and recommend Dokan library. 我认为您需要虚拟文件系统并推荐Dokan库。 Dokan is the start point of Windows virtual file-system application. Dokan是Windows虚拟文件系统应用程序的起点。

Google, Naver use Dokan and NetDrive, RaiDrive(mine) use CBFS. Google,Naver使用Dokan和NetDrive,RaiDrive(mine)使用CBFS。

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

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