ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 9320] New: - ftp task doesn't handle well 521 error in the method createParents
Date Wed, 22 May 2002 16:19:08 GMT
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:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message