api - Connect to a drive in remote machine and read all files and directories in Java -
i need connect remote machine using domain credentials, , later must able read , write files , directories in particular drive after session can disconnected.
is there java code or api available this. example:
file newdirectory = new file("\\remotemachine\c$\x");
boolean result = newdirectory.mkdir();
the above code says result=false, because not have access remotemachine.
how connect remote machine credentials, accessing , changing directories , files.
Comments
Post a Comment