简体   繁体   English

Java WebDAV客户端作为Windows中的虚拟驱动器

[英]Java WebDAV client as a virtual drive in Windows

I would like to have a WebDAV client in Windows that shows a WebDAV source as a virtual drive. 我想在Windows中有一个WebDAV客户端,该客户端将WebDAV源显示为虚拟驱动器。 I have been using Netdrive2 for a while, but I'd rather either write my own Java implementation or use an existing open source product. 我已经使用Netdrive2一段时间了,但是我宁愿编写自己的Java实现,也可以使用现有的开源产品。

I've noticed many Java based WebDAV clients, but they do not seem to act as a Windows drive. 我注意到许多基于Java的WebDAV客户端,但是它们似乎不充当Windows驱动器。 Do they exist, or is it even possible to create a Java program that creates a virtual drive, pointing to some Java collection of File elements? 它们是否存在,或者是否有可能创建一个创建虚拟驱动器的Java程序,指向一个File元素的Java集合? Or even better, a collection of custom elements that represent the resources provided by the Java WebDAV client? 甚至更好的是,这些自定义元素的集合表示Java WebDAV客户端提供的资源?

Thanks! 谢谢!

Windows Explorer has built-in WebDAV support. Windows资源管理器具有内置的WebDAV支持。 If you need a virtual drive, you need a library that will let you create a virtual disk. 如果需要虚拟驱动器,则需要一个可以创建虚拟磁盘的库。 WebDAVSystem used to offer such (but this is a commercial product) but I don't see that library on their site anymore. WebDAVSystem曾经提供过这种功能(但这是一种商业产品),但我在他们的站点上看不到该库了。 They used our Callback File System to create a virtual drive. 他们使用我们的回调文件系统来创建虚拟驱动器。

Callback File System itself includes WebDAVDisk sample for C# (not for Java API at the moment). 回调文件系统本身包括用于C#的WebDAVDisk示例(当前不适用于Java API)。 That sample is based on our SecureBlackbox components for WebDAV connectivity and also uses parts of the code from our SFTP Net Drive freeware application. 该示例基于用于WebDAV连接的SecureBlackbox组件,并且还使用了SFTP Net Drive免费软件应用程序中的部分代码。 We have plans to write the same sample in all other supported APIs (Java, Delphi, C++). 我们计划在所有其他受支持的API(Java,Delphi,C ++)中编写相同的示例。

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

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