943,922 Members | Top Members by Rank

Ad:
  • VB.NET Discussion Thread
  • Unsolved
  • Views: 704
  • VB.NET RSS
Jun 14th, 2009
0

Sending File Thrrough internet

Expand Post »
Hai Friends,
Please Help Me!!!!
I am developing a bussiness application.It includes a module which has to send a text file from the head office to the branch.
I am able to send the file through internet only if i get the global ip.
But Under the router i am getting the ip like 192.168.1.105....
How can i send file to a machine which is under a router...
Thanx in advance....
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
dileepkumars1 is offline Offline
9 posts
since May 2008
Jun 14th, 2009
1

Re: Sending File Thrrough internet

My.Computer.Network.UploadFile("test.log", "192.168.1.104")
Normally it is even easier to send local files. Could you please subscribe the problem a bit more detailed? like what exception you get if u try and so on.
Featured Poster
Reputation Points: 208
Solved Threads: 168
Practically a Master Poster
GeekByChoiCe is offline Offline
692 posts
since Jun 2009
Jun 15th, 2009
0

Re: Sending File Thrrough internet

i am not getting any exceptions
i dont want to get these 192.168.XXX.XXX
i want to know about the correct ip(global ip)
and if i send file to that ip,how can identify which machine is requesting.

i will explain more in detail
suppose i have 5 machines in a lan under a router
the ip addresses showing in these machines will be 192.168.1.1,192.168.1.2 ...
if i send a file from 192.168.1.2 to 192.168.1.1 The file is sent.
But i want to send the file to a machine which is not in my lan.
i want to send the file over internet to another machine which is also under a router.
the other computer is also in a lan and showing 192.168.XX.XX
How can i get the correct ip like 55.232.XX.XX......
and even if i know the correct ip How the router redirects the message to the machine which is requesting the file

is anybody aware of the method the teamviewer or hamachi logmein is using

please help me .this is very urgent
Last edited by dileepkumars1; Jun 15th, 2009 at 9:40 pm.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
dileepkumars1 is offline Offline
9 posts
since May 2008
Jun 16th, 2009
0

Re: Sending File Thrrough internet

hamachi and logmein use an in between server which initiates the connection that is the reason why they work behind routers. You need to make one of the computers visible on the net through port forwarding (this will be the server) and then have the client computer (which is behind a router) request the file from the server.
Reputation Points: 10
Solved Threads: 0
Light Poster
b89smith is offline Offline
30 posts
since Jun 2009
Jun 16th, 2009
0

Re: Sending File Thrrough internet

can u please tell me how can i forward the port ..
is this also work for an sql server connection in the above given condition...
can u please explain in detail
Reputation Points: 10
Solved Threads: 0
Newbie Poster
dileepkumars1 is offline Offline
9 posts
since May 2008

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in VB.NET Forum Timeline: DSOFramer limit Word menu items
Next Thread in VB.NET Forum Timeline: Solution Explorer shows the wrong Modules





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC