ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jay Wright <jwri...@once.com>
Subject RE: Ant ftp cannot create directory (if it already exists)
Date Thu, 06 Mar 2003 17:06:55 GMT

FYI

> -----Original Message-----
> From: Robert r. Sanders [mailto:robert.sanders@ipov.net]
> Sent: Tuesday, January 21, 2003 2:27 PM
> To: Ant Users List
> Subject: Re: Ant ftp cannot create directory (if it already exists)
> 
> 
> 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