How can I read from a Windows shared drive in a pl

2019-07-23 12:35发布

问题:

How can I read from a Windows shared drive using Java in such a way that the Java code which performs the reading could run equally correctly on any platform?

回答1:

You can use JCIFS to access SMB/CIFS shares using pure Java code.



回答2:

apache commons vfs is always a good choice.