ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Iwan" <...@i-ware.net>
Subject RE: Recursive send using optional FTP task
Date Sun, 05 Jan 2003 09:12:24 GMT
Thanks, that worked. Should have tried it myself, but the docs didn't
really point me to it.

Thanks again.

Iwan

-----Original Message-----
From: Erik Hatcher [mailto:jakarta-ant@ehatchersolutions.com] 
Sent: Sunday, January 05, 2003 4:00 AM
To: Ant Users List
Subject: Re: Recursive send using optional FTP task


Try adding this to <ftp>:

	ignoreNoncriticalErrors="true"


On Saturday, January 4, 2003, at 08:09  PM, Iwan wrote:

> Hi,
>
> I want to use Ant to update my website after building the servlets etc

> using Ant as well.
>
> My site is accessed using FTP so I use the optional FTP-task of Ant 
> 1.5.1. Now when I send the files over, only the files in the root are 
> copied, any attempt to copy a file from a local sub-dir in a 
> corresponding remote sub-dir is greeted by an error saying that the 
> sub-dir on the remote site already exists (which is true). Now I don't

> care that the remote sub-dir already exists, I just want all the files

> overwritten when I have newer versions locally. Anybody any clue on 
> how to this without handling every dir manually?
>
> Btw, this is my Ant sniplet where I want to do this.
>
>     <target name="deployHTML">
>         <echo message="Deploying HTML-files"/>
>         <ftp password="MyPassWord"
>              remotedir="htdocs"
>              server="www.mydomain.com"
>              userid="MyUserID"
>              skipFailedTransfers="yes">
>              <fileset dir="web">
>                 <include name="**/*.html"/>
>                 <include name="**/*.htm"/>
>              </fileset>
>         </ftp>
>     </target>
>
> Iwan
> ----
> ICQ: 31720413 / M$N: ieising@hotmail.com
> www.i-ware.net / www.cyberhighscore.com
>
>
>
>
> --
> To unsubscribe, e-mail:   
> <mailto:ant-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
> <mailto:ant-user-help@jakarta.apache.org>
>
>


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



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