in reply to Connecting to other computer in LAN via PERL

Is it safe to assume that you have appropriate permissions to access the other computers on the LAN?

--MidLifeXis

  • Comment on Re: Connecting to other computer in LAN via PERL

Replies are listed 'Best First'.
Re^2: Connecting to other computer in LAN via PERL
by Muskovitz (Scribe) on Mar 11, 2015 at 12:53 UTC
    Hi MidLifeXis, Yes i have permissions to access other computers in LAN, And i just want to know the tricks on how to send files on the LAN via perl.

      This is a client/server setup. Your machine is a client, the server software for that client needs to be available on the remote side:

      • ftp -> ftpd
      • scp -> sshd
      • uuencode + telnet -> telnetd + uudecode
      • cp/copy -> smbd or other CIFS server
      • stick drive -> a pair of sneakers and an available USB port
      • ...
      If you need to install software on the remote machines and they are windows machines and you have the appropriate authorization on the remote machines, you can push a windows installation package to that machine.

      You need to have something on the remote side to talk to. The type of access (permissions + protocol) you have on the remote side will determine how you are able to transfer the files to the remote machine. Some of them can be driven by Perl, others cannot.

      --MidLifeXis