Skip to main content

How to access files(display,move) on other computers connected over LAN using java?

Please note these forums are being decommissioned and use the new and improved forums at
Posted by rosh21 on March 17, 2013 at 3:56 AM PDT

I'm currently working on load balancing project. I need access to the file on another computer connected to mine over LAN so that I could balance the disk space of that computer. Is there any way possible to do this using java? like how i can display all the files stored in the other computer in something like a tree?? using java.


Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Re: How to access files(display,move) on other computers ...

It is 100% possible. All you need to do is to study:
1. FileInputStream, BufferedReader
2. Java Networking
Then you can go ahead with your project. Good luck