Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Connecting Two PC??  RSS feed

 
Bikash Paul
Ranch Hand
Posts: 342
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I want to develop one software so that I can connect two PC using internet connection means one is host and another is remote.So that I can access remote PC's Hard drive using internet connection.Can any one plz give me some guideline how I can start.Eagerly waiting for someone reply.
Thanks & Regards
Bikash
[ August 01, 2003: Message edited by: Bikash Paul ]
 
Michael Morris
Ranch Hand
Posts: 3451
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are you doing this for fun or profit? You know there are simpler ways already built into most OS's to connect two PCs over an internet connection if you know the IP address. On Windows boxes you can just search the IP on My Network Places in Explorer or use the net command from the command line to mount a network drive assuming you can authenticate yourself. This can certainly be done with JAVA but there are many issues to consider, not the least of which is security.
 
Bikash Paul
Ranch Hand
Posts: 342
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Iam not doing this for fun and I think this forum is not a place for fun,I am serious I think u r not getting my point what i am trying to develop.Now Iam explaining what Iam trying to do I want to develop one software like "PCAnyWhere" or "GoToMyPC".I want to connect two PC using internet connection and both Internet Service Provider are different.Now I want to connect my local PC with remote PC so that I can get its all shared hard drive on my software or remote PC's desktop so that I can manually copy and paste my file on remote PC's hard drive.And both PC are not in Network(means both PC are not connected through LAN ,VAN etc.).I know that it can be done through RMI technology,Now my problem is I want a method through which I can extract available shared Hard drive from reomte PC on my software interface so that I can manually copy and paste my file from my local Hard drive to remote PC's Hard drive.I want to give only IP address of remote PC from my software's local interface as a input to remote interface.Can you plz give me some code for that.Eagerly waiting for ur reply.
Thanks & Regards
Bikash
[ August 04, 2003: Message edited by: Bikash Paul ]
 
Michael Morris
Ranch Hand
Posts: 3451
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Didn't mean to offend you Bikash. OK, as you said you could use RMI but it may be simpler to use straight sockets and serialized objects to transfer back and forth between server and client. You may encounter problems with firewalls though, so HTTP tunnelling may be necessary. If you want a GUI interface on the client (which I assume you do) then you need to check out the API docs on JTree. You'll also need to setup your own security and authentication mechanism, check out the javax.crypto package for that. Most of the coding should be straight forward, but there will be quite a few things to do. If you have any specific questions please feel free to post them.
 
Bikash Paul
Ranch Hand
Posts: 342
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Morris,
Thanks for ur suggestion.But atlast I have found that there is easy way to do this rather than coding for that.I have to configure my dial up connection by creating "virtual private network" on that or some configuration in TCP/IP properties of my Window OS but still i am searching for the way how i can do that,if u have any knowledge about this then plz extend to me.If u can explain it step by step then it will be very helpfull for me.
Thanks & Regards
Bikash
 
gautham kasinath
Ranch Hand
Posts: 583
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Bikash Paul:
But atlast I have found that there is easy way to do this rather than coding for that.I have to configure my dial up connection by creating "virtual private network" on that or some configuration in TCP/IP properties of my Window OS

- Wow!! Did you manage to find it yourself??
As I read through the posts, the SECOND reply was the one that mentioned it.. and you *DIDNT* read the POST, but were quite rude.
there are three rules to get some help in the forum:
1) READ WHAT IS POSTED
2) BE NICE, NOT RUDE - when someone is trying to help you
3) Always remember rules 1 and 2.
cheers
Lupo
 
Bikash Paul
Ranch Hand
Posts: 342
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am well familiar with all these rule what u have suggested me,and I also read that second post very carefully(coz I always respect who is trying to help me) but that time I assumed that It is easy to code for that but after that I can realize that it is unsecure and very difficult to code using RMI technology.By the way as per you if I break any rule then Please apologize me.
Regards
Bikash
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!