I have used the io.scket library like this solation sugested to transfer files in my program.. I just realized that this approach only works with localhost not via remote client (local network) .after days and days of coding . Can anybody please knwo how to make this code works in local network.