<target name="ftp" depends="zip">
<ftp userid="kh" password="123" server="localhost"
action="put" remotedir="user">
<fileset dir="${zip.dir}" includes="*.zip"></fileset>
</ftp>
</target>