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

Reply via email to