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

timeout - Handshake_timeout on RabbitMQ using python and pika from remote vm -

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

c# - Search and Add Comment with OpenXML for Word -