从java访问SMB2.1或SMB3共享? [英] Accessing SMB2.1 or SMB3 share from java?

查看:1508
本文介绍了从java访问SMB2.1或SMB3共享?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

由于Windows 2012R2不再支持SMB1协议而没有一些注册表黑客,在Java中只支持SMB2.1或SMB3的SMB共享有任何成功吗? JCIFS库显然只是SMB1,所以它出来了。我看到微软有一个用于Azure的Java库,但这似乎是利用服务而不是SMB。

As Windows 2012R2 no longer supports the SMB1 protocol without some registry hacks has any had any success working with SMB shares in Java where only SMB2.1 or SMB3 are supported? the JCIFS library is apparently SMB1 only so it is out. I see that Microsoft have a Java library for Azure but this appears to be utilising services rather than SMB.

推荐答案

我找到了这个包可以使用SMB2和SMB3,名为smbj
看看这个: https://github.com / hierynomus / smbj

I found this package that can work with SMB2 and SMB3, named smbj Take a look at this: https://github.com/hierynomus/smbj

这篇关于从java访问SMB2.1或SMB3共享?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆