ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert r. Sanders" <>
Subject Re: Ant ftp cannot create directory (if it already exists)
Date Tue, 21 Jan 2003 22:27:25 GMT
Try looking at

We wrote this extension to Ant to solve some of the common complaints we 
had when using the FTP tasks.  Internally it uses the same Classes that 
the Ant Ftp task does; we just provide a little cleaner set of tags and 

Jay Wright wrote:

>I am trying to ftp an entire directory to our web server.  It works great
>the first time through, but once the directories exist on the server, I get
>an error:
>build.xml:288: could not create directory: 550 test: File exists.
>Is there a way around this?  I've tried setting the depends attribute to
>"yes", but no luck.
>Code from my build.xml file:
>        <ftp server="${}"
>            remotedir="${web.server.stage.path}"
>            userid="${web.server.stage.username}"
>            password="${web.server.stage.password}">
>           <fileset dir="${dist.dir}/web">
>               <include name="**/*.*"/>
>           </fileset>
>        </ftp>
>To unsubscribe, e-mail:   <>
>For additional commands, e-mail: <>
    Robert r. Sanders
    Chief Technologist

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message