Apologies if I¹m in the wrong place... I¹ve tried searching and none of the
results I¹ve come up with are even close to my problem.

I am using the ftp task to pull down a list of files on an ftp server, my
task looks like this:
<ftp server=²foo² user=²foo² password=²foo² remotedir=²/base/dailybuild²
action=²list² listing=²sqlList²>
<fileset><include name="*/updates/*.sql"/></fileset>
</ftp>

It appears (though I have not verified through packet analysis) that it is
first getting a folder listing for one of the */updates folders, then it is
doing an individual file listing on each file in the list that matches
*.sql. The result, since I have approximately 1300 files of type sql, is
that the task is taking 5-10 minutes to complete.
If I do the same operation using the basic ftp program on the machine, it
takes 30 seconds with me manually typing the commands.

Is there something I can do to tell it to just grab the file list without
iterating through each file? Should I just inline a perl FTP call to do
this?

Thanks all!


SCHOLASTIC
Read Every Day.
Lead a Better Life.




Reply via email to