jdelmedico has asked for the wisdom of the Perl Monks concerning the following question:
chdir($nas_location); #change the local directory $ftp=Net::FTP::Recursive->new('172.20.1.36:9921',Timeout=>10,Debug=>1) + or die getftploginpass(); my $LOGIN = $hashlogin{"LOGIN"}; my $PASSWORD = $hashlogin{"PASSWORD"}; $ftp->login($LOGIN,$PASSWORD) or $error=1; $ftp->cwd("$remote_path") or $error=1; $ftp->binary(); my @list = $ftp->ls(); my $output = $ftp->rget( map{($_, 1)} $extract); $ftp->quit; print "Got \$output of:\n$output\n";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: NET::FTP::Recursive
by kwaping (Priest) on Jan 24, 2006 at 16:05 UTC | |
by EvanK (Chaplain) on Jan 24, 2006 at 16:09 UTC | |
by Anonymous Monk on Jan 24, 2006 at 16:24 UTC | |
by kwaping (Priest) on Jan 24, 2006 at 16:53 UTC | |
by kwaping (Priest) on Jan 24, 2006 at 16:47 UTC | |
by Anonymous Monk on Jan 24, 2006 at 17:10 UTC | |
by Anonymous Monk on Jan 24, 2006 at 16:48 UTC | |
by Anonymous Monk on Jan 24, 2006 at 16:15 UTC |