Results 1 to 4 of 4

Thread: How i copy file to another in lan ?

  1. #1

    Thread Starter
    New Member
    Join Date
    Aug 2008
    Posts
    5

    Exclamation How i copy file to another in lan ?

    Hi,that's my 1st post here.

    i tried to get list of PCs in my lan including myself and the gatway,i did by this code
    Code:
    Dim siteResponds As Boolean = False
            Dim MyIPAddresses As IPHostEntry = Dns.GetHostEntry(Dns.GetHostName)
            Dim MyIPAddress As String = MyIPAddresses.AddressList(0).ToString
            Dim i As Int32
            For i = 1 To 254
                siteResponds = My.Computer.Network.Ping((MyIPAddress.Substring(0, MyIPAddress.LastIndexOf(".")) & "." & i), 1)
                If siteResponds = True Then
                    lstbNames.Items.Add(MyIPAddress.Substring(0, MyIPAddress.LastIndexOf(".")) & "." & i)
                End If
                siteResponds = False
            Next
    it take long and can't figure the gatway is, it work .what i need here,how can i copy file(s) to any of this IP Addresses (PCs)that need to Username and password?

  2. #2
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: How i copy file to another in lan ?

    Merely because you have a computer's IP address does not mean you can copy stuff to it. Do you have admin access to all these machines?

  3. #3

    Thread Starter
    New Member
    Join Date
    Aug 2008
    Posts
    5

    Re: How i copy file to another in lan ?

    yes i have the Admin access to all the network,question here ,how can i find the IPs (Computers and router (gateway)) and after that copy stuff to it by admin access (Username and password)

  4. #4

    Thread Starter
    New Member
    Join Date
    Aug 2008
    Posts
    5

    Re: How i copy file to another in lan ?

    there's no answer :S

Posting Permissions

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



Click Here to Expand Forum to Full Width