This will go thru the parameters given at the command line (like "./ftp.pl file1 file2 file3") and FTP them.#!/usr/bin/perl use Net::FTP; foreach (<@ARGV>) { $ftp = Net::FTP->new("HOST", Debug => 0); $ftp->login("login","password"); $ftp->put($_); } $ftp->quit;
In reply to Re: net::ftp multiple files
by asiufy
in thread net::ftp multiple files
by nkpgmartin
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |