You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2002/05/22 18:19:08 UTC

DO NOT REPLY [Bug 9320] New: - ftp task doesn't handle well 521 error in the method createParents

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9320>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9320

ftp task doesn't handle well 521 error in the method createParents

           Summary: ftp task doesn't handle well 521 error in the method
                    createParents
           Product: Ant
           Version: 1.5Beta1
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Major
          Priority: Other
         Component: Optional Tasks
        AssignedTo: ant-dev@jakarta.apache.org
        ReportedBy: regis.brochu@bigfoot.com


When I update some files using the send command , I got the following error 
message because the method createParents doesn't handle correclty the 
error 521 as you did for the action mkdir. 

Here is the error that I got in my log file. 

/pmii/src/PMII_DeveloppementView/PMII_Developpement/comp_pmutil/env/ant/build.x
ml:203: could not create directory: 521 Directory already exists.

	at org.apache.tools.ant.taskdefs.optional.net.FTP.createParents
(FTP.java:623)
	at org.apache.tools.ant.taskdefs.optional.net.FTP.sendFile
(FTP.java:722)
	at org.apache.tools.ant.taskdefs.optional.net.FTP.transferFiles
(FTP.java(Compiled Code))
	at org.apache.tools.ant.taskdefs.optional.net.FTP.transferFiles
(FTP.java(Compiled Code))
	at org.apache.tools.ant.taskdefs.optional.net.FTP.execute(FTP.java:973)
	at org.apache.tools.ant.Task.perform(Task.java(Compiled Code))
	at org.apache.tools.ant.Target.execute(Target.java(Compiled Code))
	at org.apache.tools.ant.Target.performTasks(Target.java:334)
	at org.apache.tools.ant.Project.executeTarget(Project.java:1216)
	at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:357)
	at org.apache.tools.ant.Task.perform(Task.java(Compiled Code))
	at org.apache.tools.ant.Target.execute(Target.java(Compiled Code))
	at org.apache.tools.ant.Target.performTasks(Target.java:334)
	at org.apache.tools.ant.Project.executeTarget(Project.java:1216)
	at org.apache.tools.ant.Project.executeTargets(Project.java:1160)
	at org.apache.tools.ant.Main.runBuild(Main.java:605)
	at org.apache.tools.ant.Main.start(Main.java:195)
	at org.apache.tools.ant.Main.main(Main.java:234)

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>