Hello --- [EMAIL PROTECTED] wrote:
> I am trying from my laptop to my desktop. Fine, but is there a running ftp server on your desktop? Regards Ivan > > -----Original Message----- > From: Ivan Ivanov > [mailto:[EMAIL PROTECTED] > Sent: Wednesday, December 14, 2005 6:14 PM > To: Ant Users List > Subject: Re: Urgent help with FTP task.....please > help > > Hello, > > Are you aure you have ftp server up and running on > 10.187.218.183? Can you access the ftp server using > ordinary command line client like > C:\> ftp 10.187.218.183 > > Regards > Ivan > > --- [EMAIL PROTECTED] wrote: > > > I downloaded the required jarfile from ant site > for > > ftp task . I get the > > following error. > > > > > > > > C:\antscripts>ant -verbose -f generalftp.xml > > > > Apache Ant version 1.6.2 compiled on August 5 2004 > > > > Buildfile: generalftp.xml > > > > Detected Java version: 1.5 in: > C:\bea9\JROCKI~1\jre > > > > Detected OS: Windows XP > > > > parsing buildfile C:\antscripts\generalftp.xml > with > > URI = > > file:///C:/antscripts/ > > > > generalftp.xml > > > > Project base dir set to: C:\antscripts > > > > Build sequence for target `ftp' is [ftp] > > > > Complete build sequence is [ftp, ] > > > > > > > > ftp: > > > > [ftp] Opening FTP connection to > 10.187.218.183 > > > > > > > > BUILD FAILED > > > > C:\antscripts\generalftp.xml:7: error during FTP > > transfer: > > java.net.ConnectExcep > > > > tion: Connection refused > > > > at > > > org.apache.tools.ant.taskdefs.optional.net.FTP.execute(FTP.java:2014) > > > > > > > > at > > > org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275) > > > > at > > org.apache.tools.ant.Task.perform(Task.java:364) > > > > at > > > org.apache.tools.ant.Target.execute(Target.java:341) > > > > at > > > org.apache.tools.ant.Target.performTasks(Target.java:369) > > > > at > > > org.apache.tools.ant.Project.executeTarget(Project.java:1214) > > > > at > > > org.apache.tools.ant.Project.executeTargets(Project.java:1062) > > > > at > > org.apache.tools.ant.Main.runBuild(Main.java:673) > > > > at > > org.apache.tools.ant.Main.startAnt(Main.java:188) > > > > at > > > org.apache.tools.ant.launch.Launcher.run(Launcher.java:196) > > > > at > > > org.apache.tools.ant.launch.Launcher.main(Launcher.java:55) > > > > > > > > > > > > My build file is > > > > > > > > <project name="ftpuse" default="ftp"> > > > > <target name="ftp"> > > > > <ftp server="10.187.218.183" > > > > remotedir="c:\uploads" > > > > depends="yes" > > > > userid="sparthasarthy12" > > > > password="srinivasa27"> > > > > <fileset dir="c:\sshkeys"/> > > > > </ftp> > > > > <echo message="ftp successful"/> > > > > </target> > > > > </project> > > > > > > > > what is wrong....... > > > > > > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam > protection around > http://mail.yahoo.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]