gennari has asked for the wisdom of the Perl Monks concerning the following question:
$ftp = Net::FTP->new($masterHost); $ftp->login($osuser,$ospass); $ftp->type("binary"); $ftp->cwd($destDir); foreach $file (@logFiles) { $localFile = "$localArchDir\/$file"; print "localFile: [$localFile]\n"; $ftp->get($file, $localFile); } $ftp->quit;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Net::FTP get doesn't like LOCAL_FILE
by chromatic (Archbishop) on Sep 13, 2001 at 02:38 UTC | |
|
Re: Net::FTP get doesn't like LOCAL_FILE
by gennari (Novice) on Sep 13, 2001 at 02:38 UTC |