monk2b has asked for the wisdom of the Perl Monks concerning the following question:
#!/usr/local/bin/perl -w use strict use Net::SFTP; my $host = "somehost"; my $password = "somepasswd"; my $user = "someuser"; my $sftp = Net::SFTP->new($host,"user" => $user,"password" => $passwor +d); $sftp->get("/var/log/httpd/access_log");
#!/usr/local/bin/perl -w use strict use Net::SFTP; my $host = "somehost"; my $password = "somepasswd"; my $user = "someuser"; my $sftp = Net::SFTP->new($host,"user" => $user,"password" => $passwor +d); print $sftp->get("/var/log/httpd/access_log"); <<<---|||
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: sftp problem
by nardo (Friar) on Aug 09, 2001 at 02:23 UTC | |
by monk2b (Pilgrim) on Aug 09, 2001 at 02:36 UTC |