Results 1 to 4 of 4
  1. #1
    vaskarbasak is offline Member
    Join Date
    May 2008
    Posts
    13
    Rep Power
    0

    Default : Accessing remote directory???

    Hi,

    I know the ip address,user name and password of the remote server.Is it possible to access the remote dir/file of the remote pc just like we do to access local file/dir using JFileChooser.Any pointers or critiques would be greatly appreciated.

    Thanks!

  2. #2
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    SW Missouri
    Posts
    17,305
    Rep Power
    25

    Default

    Yes, with the right software.
    There would have to be code on the remote server that you can communicate with to ask it to send you what you need. To write that kind of program would involve designing a protocol between the client and server and use Sockets to communicate.

  3. #3
    serjant's Avatar
    serjant is offline Senior Member
    Join Date
    Jun 2008
    Location
    Ukraine,Zaporozhye
    Posts
    487
    Rep Power
    7

    Default

    As i remember JAVA RMI is responsible for remoting,check the Java RMI tutorial

  4. #4
    apd
    apd is offline Member
    Join Date
    Oct 2009
    Posts
    1
    Rep Power
    0

    Default

    Quote Originally Posted by Norm View Post
    Yes, with the right software.
    There would have to be code on the remote server that you can communicate with to ask it to send you what you need. To write that kind of program would involve designing a protocol between the client and server and use Sockets to communicate.
    can we get that code ...by whaich i can access remote file

Similar Threads

  1. remote file access problem
    By kib_tse in forum New To Java
    Replies: 2
    Last Post: 08-14-2008, 06:04 PM
  2. Applet and remote file
    By Preethi in forum Java Applets
    Replies: 0
    Last Post: 06-03-2008, 05:54 AM
  3. Accessing Active Directory
    By javaplus in forum Advanced Java
    Replies: 1
    Last Post: 01-04-2008, 11:25 PM
  4. Remote interface for entity bean
    By Java Tip in forum Java Tip
    Replies: 0
    Last Post: 12-28-2007, 10:40 AM
  5. how to load a file in remote machine
    By christina in forum New To Java
    Replies: 1
    Last Post: 08-06-2007, 09:33 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •