You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Balasubramanian S <Ba...@lucid.co.in> on 2001/03/23 08:14:30 UTC
FTP Problem
hi
iam working on ftp .Iam using antv1.3 and i have downloaded
optional.jar from the ant site .Other optional task like
junit are all working fine .But when tried to use the optional
task like ftp and telnet ,it is not working properly
I have included my snippet code of build.xml and error message
below .Please help me
Error Message
-------------
java.lang.NoClassDefFoundError: com/oroinc/net/ftp/FTPClient
at
org.apache.tools.ant.taskdefs.optional.net.FTP.execute(FTP.java:733)
at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:124)
at org.apache.tools.ant.Target.execute(Target.java, Compiled Code)
at org.apache.tools.ant.Project.runTarget(Project.java:898)
at org.apache.tools.ant.Project.executeTarget(Project.java, Compiled
Cod
e)
at org.apache.tools.ant.Project.executeTargets(Project.java,
Compiled Co
de)
at org.apache.tools.ant.Main.runBuild(Main.java, Compiled Code)
at org.apache.tools.ant.Main.main(Main.java:149)
Total time: 1 second
com/oroinc/net/ftp/FTPClient
build.xml
---------
<target name="ftp" depends="init">
<ftp action="get"
server="ftp.lucid.co.in"
userid="anonymous"
password="anon"
binary="yes"
passive="yes">
<fileset dir="d:\bala\downloads" >
<include name="**/*" />
<exclude name="." />
<exclude name=".." />
</fileset>
</ftp>
</target>
Bala
Re: FTP Problem
Posted by Stefan Bodewig <bo...@apache.org>.
Balasubramanian S. <Ba...@lucid.co.in> wrote:
> iam working on ftp .Iam using antv1.3 and i have downloaded
> optional.jar from the ant site
You need NetComponents from
<http://www.savarese.org/oro/software/NetComponents.html> as well.
Stefan