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?
How can I read from a Windows shared drive in a platform independent way using Java?
Isn't it "Windows share drive" and "platform independent" a contradiction? –
Sabah
@kgiannakakis: Only as much as "How can I ssh into a Solaris machine in a platform indepenent way?" is a contradiction. So no: it's perfectly possible to do that without restricting the set of machines the client runs on (at least without restricting it further than "anything that runs Java"). –
Argolis
@Sabah I've changed the wording. Maybe it makes more sense to you now? –
Barberabarberry
You can use JCIFS to access SMB/CIFS shares using pure Java code.
apache commons vfs is always a good choice.
Interesting. Unfortunately the CIFS support doesn't seem to be officially released yet. –
Argolis
© 2022 - 2024 — McMap. All rights reserved.