Originally posted by PNS Subramanian:
Need to ftp files using ant
Have the following jar files in the classpath
ant.jar
ant-commons-net.jar (Is this the same as commons-net.jar ?)
optional.jar
jakarta-oro-2.0.7.jar
Would appreciate any help in this regard
ant.jar have in all version of ANT.
In Ant 1.6.1 have ant-common-net.jar and ant-jakarta-oro.jar.
In Ant 1.5.3 have optional.jar.
ant-commons-net.jar (Is this the same as commons-net.jar ?)
Sure, it's same.
Let me know if anything more is needed.
I get a comment saying
"Ant could not find the task or a class this task relies upon."
What version of your ANT ?
Description of common-net.jar
ftp, rexec and telnet tasks
jakarta-oro 2.0.1 or later is required in any case together with commons-net.
For all users, a minimum version of commons-net of 1.2.2 is recommended. Earlier versions did not support autodetection of system type or had significant bugs.
Description of jakarta-oro.jar
regexp type with mappers and the perforce tasks
To use the FTP task, you need jakarta-oro 2.0.1 or later, and commons-net