ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Scott Carlson <>
Subject [PATCH] (sort-of) FTP Task
Date Sat, 26 Aug 2000 13:29:34 GMT
I also wrote an FTP task.  I wasn't getting the mailing list until recently,
and didn't know that I was re-inventing the wheel.  Oh well, spilled milk...

I am attaching my code.  NetComponents from ORO is a requirement. I think
mine has an advantage in that the ftp task only makes the connection.  The
actions are handled by the inner task.  Allowing many different things
to happen all within a single connection.

for example...
<ftp passive="true" userid="user" password="pass" server="machine">
<send type="ascii" srcDirectory="${dir1}" includes="*"
excludes="vssver.scc" tgtDirectory="${remoteDir}"/>
<send type="binary" srcDirectory="${dir2}" includes="**/*.java"
excludes="vssver.scc" tgtDirectory="${remoteDir2}"/>

Do with it as you wish...

Do You Yahoo!?
Yahoo! Mail - Free email you can access from anywhere!
View raw message