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

Popular posts from this blog

gcc - MinGW's ld cannot perform PE operations on non PE output file -

How to connect android app to App engine -

hadoop - Running Map Reduce Job shows error - Mkdirs failed to create /var/folders/ -