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}"/>
</ftp>


Do with it as you wish...


__________________________________________________
Do You Yahoo!?
Yahoo! Mail - Free email you can access from anywhere!
http://mail.yahoo.com/

Attachment: ftp.java
Description: ftp.java

Reply via email to