Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

copying file using Net::SCP module

by jesuashok (Curate)
on Sep 19, 2006 at 05:44 UTC ( [id://573636]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use Net::SCP qw(scp);
    
    $scp = Net::SCP->new( "155.226.206.195", "metrica");
    $scp->get("/apps/inst1/metrica/sample.txt") or die $scp->{errstr};
    
  2. or download this
    C:\Antony\Perl>perl l.pl
    Died at l.pl line 5.
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://573636]
Approved by mugwumpjism
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (7)
As of 2024-03-28 12:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found