Hello Jesse,

I did some changes long time ago to the ftp task but do not remember
much about it. I would have to open the source code.

What happens if you do not nest a fileset when doing your <ftp/>
invocation ?

Regards,

Antoine

On 2/9/11 6:52 PM, Jesse Campbell wrote:
> 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.
>
>
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@ant.apache.org
For additional commands, e-mail: user-h...@ant.apache.org

Reply via email to