remote file access problem
I am trying to write/read to file which resides in another computer.
i have tried this code:
URL url = new URL("http","192.168.100.6","D:\\jes-1.6.1\\user.conf");
URLConnection URLC = url.openConnection();
InputStream filein = URLC.getInputStream();
but the third line raised an exception. how can i resolve this problem.
or can u send me another simple code to access the remote file.(a text file actually).(it is in drive D: folder= project file name=trial.txt).
thanks in advance