I think there's something wrong with my put notation but I don't know how to fix it. This loop won't even update the log file. argh.$log = "log"; if ($list == 1)# one file to send { blah (this part works); } elsif ($list == 2) # multiple files to send { foreach $file (@initList) { $command = <<eod; ftp -nv $rem_host << eof > $log; user $rem_user $rem_passwd mput $ftp_source_path[$i] $ftp_dest_path[$i] bye eof eod } }
In reply to ftp multiple files revisited by nkpgmartin
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |