- or download this
while (<FILE> ) {
- or download this
AB00001 N120001
BB00002 N200023
CB00003 N300011
DB00004 N400022
- or download this
# replace the while(<FILE>) { with the following two lines
for(my $i = 1; $i <= 2; $i++) {
$_ = <FILE>;
- or download this
# ftp directories
my @ftp_locations = ("FTP/A1", "FTP/B2");
...
# Sleep for 20 minutes before processing next file.
sleep (20 * 60)
}