ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sarancse <saran...@gmail.com>
Subject ANT FTP task
Date Wed, 27 Jun 2007 16:08:46 GMT

I am unable to upload a file using the following ANT script. I am having
commons-net-1.4.0.jar and jakarta-oro-2.0.8.jar in my ANT lib. Please help
to upload successfully
	<taskdef name=”ftp”
classname=”org.apache.tools.ant.taskdefs.optional.net.FTP” />
	<target name="upload" description="Upload the files to WordPress
Installation" >
		<ftp 	verbose="yes" 
				passive="yes" 
				depends="yes" 
				remotedir="/home/ftpadmin" 
				server="${remote.server}"
				userid="${ftp.login}" 
				password="${ftp.password}">
		<fileset dir="dir" includes="*.*" />
		</ftp>
	</target>
-- 
View this message in context: http://www.nabble.com/ANT-FTP-task-tf3989267.html#a11327351
Sent from the Ant - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message