ant-user mailing list archives

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

    http://oss.ipov.org/iftp-ant/

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 
options.


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="${web.server.stage.host}"
>            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:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
>For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>
>
>
>  
>
-- 
    Robert r. Sanders
    Chief Technologist
    iPOV
    www.ipov.net



--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message