thanks it worked -----Original Message----- From: Dave Carpentier [mailto:DCarpentier@healthnexis.com] Sent: mardi 21 août 2001 18:06 To: 'ant-user@jakarta.apache.org' Subject: RE: FTP builder Richard, I believe you need the NetComponents.jar instead. Dave -----Original Message----- From: Atherton Richard - Z9V [mailto:richard.atherton@AXA-RoyaleBelge.be] Sent: Tuesday, August 21, 2001 11:02 AM To: 'ant-user@jakarta.apache.org' Subject: FTP builder I'm trying to use the ftp task, but I get the error 'Could not create task of type: ftp' whenever I try to run ant. I have the optional.jar in the lib directory: I don't understand what it's complaining about. Below is a snippet from the build file and the log file - (I'm just starting with the sample settings from the docs). Any ideas any one? Cheers, Richard ********* BUILDFILE ********* ********* LOG ********* Buildfile: buildall.xml Detected Java Version: 1.2 Detected OS: Windows NT parsing buildfile D:\Work\Phoenix\bin\buildall.xml with URI = file:D:/Work/Phoenix/bin/buildall.xml Project base dir set to: D:\Work\Phoenix Build sequence for target `ftpPhoenix' is [ftpPhoenix] Complete build sequence is [jarPhoenix, ftpPhoenix, clean, prepare, compile, copyWeblogicProperties, javadocs, buildBeans] ftpPhoenix: BUILD FAILED D:\Work\Phoenix\bin\buildall.xml:161: Could not create task of type: ftp. Common solutions are to use taskdef to declare your task, or, if this is an optional task, to put the optional.jar in the lib directory of your ant installation (ANT_HOME). Total time: 1 second