Sending File Thrrough internet

Reply

Join Date: May 2008
Posts: 9
Reputation: dileepkumars1 is an unknown quantity at this point 
Solved Threads: 0
dileepkumars1 dileepkumars1 is offline Offline
Newbie Poster

Sending File Thrrough internet

 
0
  #1
Jun 14th, 2009
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....
Reply With Quote Quick reply to this message  
Join Date: Jun 2009
Posts: 282
Reputation: GeekByChoiCe is on a distinguished road 
Solved Threads: 58
GeekByChoiCe GeekByChoiCe is offline Offline
Posting Whiz in Training

Re: Sending File Thrrough internet

 
1
  #2
Jun 14th, 2009
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.
Reply With Quote Quick reply to this message  
Join Date: May 2008
Posts: 9
Reputation: dileepkumars1 is an unknown quantity at this point 
Solved Threads: 0
dileepkumars1 dileepkumars1 is offline Offline
Newbie Poster

Re: Sending File Thrrough internet

 
0
  #3
Jun 15th, 2009
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 8:40 pm.
Reply With Quote Quick reply to this message  
Join Date: Jun 2009
Posts: 17
Reputation: b89smith is an unknown quantity at this point 
Solved Threads: 0
b89smith b89smith is offline Offline
Newbie Poster

Re: Sending File Thrrough internet

 
0
  #4
Jun 16th, 2009
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.
Reply With Quote Quick reply to this message  
Join Date: May 2008
Posts: 9
Reputation: dileepkumars1 is an unknown quantity at this point 
Solved Threads: 0
dileepkumars1 dileepkumars1 is offline Offline
Newbie Poster

Re: Sending File Thrrough internet

 
0
  #5
Jun 16th, 2009
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
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:




Views: 431 | Replies: 4
Thread Tools Search this Thread



Tag cloud for VB.NET
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2010 DaniWeb® LLC