Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.6 / 3....
  • Linux Kernel 3.0.82 LTS...
  • KDE Software Compilatio...
  • PulseAudio 4.0
  • Wireshark 1.10.0
  • NetworkManager 0.9.8.2
  • LibreOffice 3.6.6 / 4.0...
  • SystemRescueCd 3.7.0
  • Linux Kernel 3.10 RC6
  • Ubuntu Tweak 0.8.5
  • Home > Linux > Programming > Libraries

    Net::SCP::Expect 0.12

    Download button

    No screenshots available
    Downloads: 682  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Daniel Berger | More programs
    Perl Artistic License / FREE
    December 20th, 2006, 00:05 GMT
    ROOT / Programming / Libraries

     Read user reviews (0)  Refer to a friend  Subscribe

    Net::SCP::Expect description

    Net::SCP::Expect is a wrapper for scp that allows passwords via Expect.

    Net::SCP::Expect is a wrapper for scp that allows passwords via Expect.

    SYNOPSIS

    Example 1 - uses login method, longhand scp:
    my $scpe = Net::SCP::Expect->new;
    $scpe->login('user name', 'password');
    $scpe->scp('file','host:/some/dir');
    Example 2 - uses constructor, shorthand scp:
    my $scpe = Net::SCP::Expect->new(host=>'host', user=>'user', password=>'xxxx');
    $scpe->scp('file','/some/dir'); # 'file' copied to 'host' at '/some/dir'
    Example 3 - Copying from remote machine to local host
    my $scpe = Net::SCP::Expect->new(user=>'user',password=>'xxxx');
    $scpe->scp('host:/some/dir/filename','newfilename');
    See the scp() method for more information on valid syntax.

    This module is simply a wrapper around the scp call. The primary difference between this module and Net::SCP is that you may send a password programmatically, instead of being forced to deal with interactive sessions.

    Product's homepage

    Requirements:

    · Expect 1.14
    · Term::ReadPassword
    · Perl

      


    TAGS:

    scp wrapper | Expect passwords | Perl module | Net::SCP::Expect | scp | wrapper

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM