ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shaikh, Mehmood" <Mehmood.Sha...@ccra-adrc.gc.ca>
Subject Difficulty with FTP task
Date Thu, 05 Apr 2001 18:27:31 GMT

I'm unable to run ftp task. Here's my target

<target name="deploy" >
	<ftp server="2.25.48.44"
	     userid="hey"
		password="sendme"
		remotedir="/u/Applications/Dev_Centre">
	<fileset dir="${jarloc}"/>
	</ftp>
</target>

I get this error:

BuildBroker.xml:93: 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).

I do have optional.jar which contains FTP.class in optional.net package..
Can someone tell me whats wrong? I do not have Netcomponents add-in, Can
someone tell me where to get that from.

Thanks

Mehmood

Mime
View raw message