ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Blanchet Samuel <sblanc...@sopragroup.com>
Subject ftp task
Date Tue, 29 Jul 2003 13:17:58 GMT
Hi all,
 
I'm not able to get file with the FTP task.
 
My code is : 
 
 <ftp action="get"
    server="rs16.pa.sopra"
       userid="blanchet"
       password="sr02">
    <fileset
dir="Livraison${PROJECT.RSOCIALE}${PROJECT.DATE}/${PROJECT.EDITIQUEDIR}">
      <include name="editique.tar.Z"/>
    </fileset>
  </ftp>
 
and the error is :
 
java.lang.NoSuchMethodError
        at org.apache.tools.ant.taskdefs.optional.net.FTP.transferFiles(
FTP.java:476 <ftp://ftp.java:476> )
        at org.apache.tools.ant.taskdefs.optional.net.FTP.transferFiles(
FTP.java:573 <ftp://ftp.java:573> )
        at org.apache.tools.ant.taskdefs.optional.net.FTP.execute(
FTP.java:1006 <ftp://ftp.java:1006> )
        at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:225)
        at org.apache.tools.ant.Task.perform(Task.java:398)
        at org.apache.tools.ant.Target.execute(Target.java:309)
        at org.apache.tools.ant.Target.performTasks(Target.java:336)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1405)
        at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:414)
        at
org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:144)
 
        at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:225)
        at org.apache.tools.ant.Task.perform(Task.java:398)
        at org.apache.tools.ant.Target.execute(Target.java:309)
        at org.apache.tools.ant.Target.performTasks(Target.java:336)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1405)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1279)
        at org.apache.tools.ant.Main.runBuild(Main.java:611)
        at org.apache.tools.ant.Main.start(Main.java:198)
        at org.apache.tools.ant.Main.main(Main.java:245)
 
Could you help me ?
 
Thanks

 Sam


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message