$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;
In reply to Net::FTP get doesn't like LOCAL_FILE by gennari
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |