title: How to read a file from remote system using java?
body: <p>I have a file copied in one computer and I need to access the file from other computer.
  I am not sure, which protocol or which technology to use for this?
  Please provide me any hints for this..</p>
  <h3>Update:</h3>
  <p>I am using Ubuntu Linux system.
  I used the code :</p>
  <pre><code>File f = new File(&quot;//192.168.1.157/home/renjith/picture.jpg&quot;);// 192.168.1.157 is the ip of the computer, where I have the picture file
  Image image = ImageIO.read(f);
  </code></pre>
  <p>But it is giving an exception:</p>
  <pre><code>javax.imageio.IIOException: Can't read input file!
      at javax.imageio.ImageIO.read(ImageIO.java:1275)
  </code></pre>
  <p>I have shared renjith folder also.</p>