ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jonathan doklovic ...@sysbliss.com>
Subject List/Download folder from http?
Date Wed, 21 Nov 2007 19:38:22 GMT
Hi,

I need to write a target that can download all xml files from a folder
on a web server.

I know I can use the get task to get a specific file, as well as using
VFS to do the same, but I haven't found any way to get an entire folder
of files.

I would really like something like this:

<get src="http://mydomain.com/myfolder" dest="/tmp/xmlfiles"
include="**/*.xml"/>

However, even if I could find a task that would just list the files in a
web directory, I could then use ant-contrib and get to loop over them.

Anyone know of a way to do this?

- Jonathan


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


Mime
View raw message