aspose file tools*
The moose likes Ant, Maven and Other Build Tools and the fly likes Ant ftp task creating problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "Ant ftp task creating problem" Watch "Ant ftp task creating problem" New topic
Author

Ant ftp task creating problem

alapati sasi
Greenhorn

Joined: May 17, 2005
Posts: 1
Hi ,
i am ftping some files from linux system to windows .
i have all the optional.jar,commons-net-1.4.0.jar,jakarta-oro-2.0.8.jar.
but its still saying that can't recognize task ftp .
can any one of u provide me a sloution , or if i am missing some other needed jars...?
Carol Enderlin
drifter
Ranch Hand

Joined: Oct 10, 2000
Posts: 1364
How did you set things up? Did you drop those two jars into ant's lib directory along with the required and optional jars (especially ant-commons-net.jar)?

It sounds like it cannot find ant-commons-net.jar.

My ant/lib directory has commons-net-1.4.0.jar and jakarta-oro-2.0.8.jar in it and my ftp tasks work. I removed ant-commons-net.jar from ant's lib directory and ran the build with an ftp task in it and got a rather long error message that sounds like what you said you got.

There are other ways to set this up besides dropping the jars in ant's lib directory, but you need to follow the instructions carefully due to the classloader issues.


[ May 17, 2005: Message edited by: Carol Enderlin ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Ant ftp task creating problem
 
Similar Threads
Configure FTP server
ANT-FTP-Help
File download from Unix server with password
ftp ant task question
ANT FTP task: Software caused connection abort: connect