See: http://ant.apache.org/manual/install.html#librarydependencies
you need commons-net.jar and (it seems) jakarta-oro.jar. Place these files in $HOME/.ant/lib, or in $ANT_HOME/lib and the ftp task should work. Peter On Tue, Jan 20, 2009 at 8:07 AM, VELPULA, Ashok Kumar <ashok_velp...@digitalfive.com> wrote: > Hi > > > > I have been trying to connect FTP using the ANT 1.7.1 below is my sample > script: > > > > <project name="MyProject" default="Display-Builtins"> > > <property name="ftp.password" value="abc" /> > > > > <ftp server="someftp.ftp" userid="abc" > password="${ftp.password}"> > > <fileset file="Bin.zip" /> > > </ftp> > > > > </project> > > > > Result: Could not create type ftp due to java.lang.NoClassDefFoundError: > org/apache/commons/net/ftp/FTPClientConfig > > > > But when I execute I receive errors where do I get to download the FTP > libraries for the ANT to execute the script. > > > > Thanks > > Ashok Kumar > > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...@ant.apache.org