On Thu, Jan 31, 2013 at 5:22 PM, yacob sen <[email protected]> wrote: > > Here is what I have tried (the snippet of the perl script): > > my $year= '2013'; > my $day='01' > @teams =( 'aa', 'bb', 'cc'); > > There are as an example three files in the ftp server of the format: > > aa01.txt > bb01.txt > cc01.tx > > which I want to download. > > I have tried the following: > > system " echo @teams | parallel --eta -j+0 wget > ftp://xxx.xx.xx/pub/${year}/{}${day}.txt"; > > but wget tried to fetch "aa bb cc" as one file: > > ftp://xxx.xx.xx/pub/2013/aa%bb%cc01.txt > => `aa bb cc01.txt' > No such file `aa bb cc01.txt'.
system "parallel --eta -j+0 wget ftp://xxx.xx.xx/pub/${year}/{}${day}.txt ::: @teams"; /Ole
